easyhosting Posted April 15, 2018 Share Posted April 15, 2018 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 More sharing options...
WHMCS Support Manager WHMCS John Posted April 15, 2018 WHMCS Support Manager Share Posted April 15, 2018 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 More sharing options...
easyhosting Posted April 15, 2018 Author Share Posted April 15, 2018 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 More sharing options...
WHMCS Support Manager WHMCS John Posted April 17, 2018 WHMCS Support Manager Share Posted April 17, 2018 Hi @easyhosting, Please open a support ticket so that we can investigate this issue on your environment: https://www.whmcs.com/submit-a-ticket/ Link to comment Share on other sites More sharing options...
Recommended Posts