Jump to content

cron issue


Recommended Posts

In my automation settings the cron command is */5 * * * * php -q /home/username/public_html/clients/crons/cron.php and scheduled at 3am as it has always been set to  

and in my cpanel cron it is set as */5    *    *    *    *    php -q/home/username/public_html/clients/crons/cron.php skip --TicketEscalations >/dev/null 2>&1

 but every 25 minutes i am getting this email headed

WHMCS Daily System Cron Attention Needed

Quote

Your WHMCS is configured to perform the Daily System Cron during the hour of 3 am. However, the Daily System Cron did not execute within that hour as expected.

This may be due to the scheduled time specified in your web hosting control panel's cron entry. Please ensure your web hosting control panel executes the WHMCS System Cron (cron.php) at least once during the hour of 3 am.

If you have confirmed that setting, and you continue to receive this message, then please refer to the WHMCS Cron documentation to ensure you have itemized the appropriate command and any additional options.

Please contact WHMCS Support if you require further assistance.

 

 

 

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @easyhosting,

This behaviour indicates that your server has different timezones configured in different places. Please ensure that the timezone assigned in the PHP.ini used by command-line/cron is the same as that used ion the PHP.ini used by apache/web- user.

Please also ensure your MySQL timezone is configured to match both the aforementioned PHP configurations.

Link to comment
Share on other sites

2 minutes ago, WHMCS John said:

Hi @easyhosting,

This behaviour indicates that your server has different timezones configured in different places. Please ensure that the timezone assigned in the PHP.ini used by command-line/cron is the same as that used ion the PHP.ini used by apache/web- user.

Please also ensure your MySQL timezone is configured to match both the aforementioned PHP configurations.

These have never changed, so if this is the issue then it is a WHMCS issue and upto WHMCS to fix, why release updates that constantly break peoples sites

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • 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