Jump to content

cron-comand to escalate won't work


rudberg

Recommended Posts

The command:

php -q /home/websiteuser/website.tld/whmcsfolder/cron.php escalations

does not work for me at my shared dreamhost hosting account where it gives me a

sh: php: command not found

error.

 

What should I write instead in order to be able to pass forward just the "escalation" command so I won't be getting a status report and a backup of the system every 5 minutes (as I understand the rest of the cron.php do for me)?

Link to comment
Share on other sites

  • 2 weeks later...
  • 8 months later...

Yes it can... quite a long string though if you only want the escalations to run.

Obviously change the domain and whmcs/admin path

http://yourdomain.com/whmcs/admin/cron.php?escalations=1&skip_invoices=1&skip_latefees=1&skip_ccprocessing=1&skip_invoicereminders=1&skip_domainrenewalnotices=1&skip_suspensions=1&skip_terminations=1&skip_cancelrequests=1&skip_closetickets=1&skip_affreports=1&skip_ccexpirynotices=1&skip_usagestats=1&skip_backups=1

If you want the normal cron to run as well use

http://yourdomain.com/whmcs/admin/cron.php?escalations=1

Link to comment
Share on other sites

If you don't want a status report on everything every 5 minutes than change the cron runtime to once a day. You should only get your report once a day.

 

If you are talking about e-mail piping you an dev/null the command it is real easy explains how to do it run in the cron setup page of your cpanel account

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated