adsoma Posted January 6, 2017 Share Posted January 6, 2017 Hi community. How to fix this? /////////////////////////////////// Your WHMCS is configured to perform the Daily System Cron during the hour of 7 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 7 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. /////////////////////////////////////// 0 Quote Link to comment Share on other sites More sharing options...
twhiting9275 Posted January 7, 2017 Share Posted January 7, 2017 if you go through the logs (admin -> utilities -> logs -> system activity log), search for 'cron' . What is the last line / time of that entry? 0 Quote Link to comment Share on other sites More sharing options...
visiba Posted January 8, 2017 Share Posted January 8, 2017 Make sure you have your cron created in your control panel. Instructions: http://docs.whmcs.com/Cron_Configuration 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted January 9, 2017 Share Posted January 9, 2017 Hello, Could you please try applying this fix if you are running WHMCS 7.1 0 Quote Link to comment Share on other sites More sharing options...
AnnoStephen Posted January 9, 2017 Share Posted January 9, 2017 We are seeing the same since upgrading to version 7.1.1. ChrisD, were can we download the fix that you mentioned? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 9, 2017 Share Posted January 9, 2017 I suspect Chris is talking about the thread below... https://forum.whmcs.com/showthread.php?122970-HotFix-CORE-10783-Exception-for-system-cron-do-commands if you're running v7.1.1, I would think you can ignore the final line on that page... Note: This file is only valid if you are running Version 7.1.0. ... because v7.1.1 is only a security update to v7.1.0 and didn't fix this cron issue... so I would expect the hotfix to be compatible with v7.1.1 - i'm sure one of the WHMCS guys will correct me if i'm wrong on that. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst WHMCS Edward Posted January 10, 2017 WHMCS Technical Analyst Share Posted January 10, 2017 You're right brian, that hotfix is compatible with version 7.1.1. However, that fix is only needed if you are invoking the cron using special arguments, specifically a do command that restricts the actions the cron performs. I would recommend starting here to troubleshoot this issue: http://help.whmcs.com/m/automation/l/678266-resolve-daily-cron-not-executing-within-the-expected-hour -Eddy 0 Quote Link to comment Share on other sites More sharing options...
snowdragon4311 Posted January 23, 2017 Share Posted January 23, 2017 (edited) Hi guys, even after applying the hotfix, i am still getting the following crone related alert via email in regular interval. WHMCS Daily System Cron Attention Needed Your WHMCS is configured to perform the Daily System Cron during the hour of 12 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 12 am........ WHMCS Version 7.1.1 all 3 cpanel crons i have related to whmcs are shown here http://awesomescreenshot.com/0f36885601 Edited January 23, 2017 by snowdragon4311 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted January 23, 2017 Share Posted January 23, 2017 Hi Snowdragon, Hers some tips that might help as it sounds like your cron is crashing Invoice generation, payment reminders and account suspension/termination are some of the tasks handled by the daily cron job in accordance with your Automation Settings. Begin by reviewing Utilities > Logs > Activity Log and ensure you see a number of entries beginning "Cron Job" each day. The final entry every day should be "Cron Job: Completed". * If you see no Cron Job entries at-all this means you have not configured your automation cron correctly, you must do this per our installation instructions. The relevant documentation can be found at http://docs.whmcs.com/Crons * If you see some Cron Job entries but none after "Cron Job: Running Usage Stats Update" your cron is getting stuck at the Usage Stats Update stage. The most likely cause of this error is that you have an old server in Setup > Servers that is no longer available. To resolve this, you should update or remove any inactive or offline servers from Setup > Servers so that they can all be connected to successfully. Or alternatively Update Usage Statistics can be disabled under Setup > Automation Settings. * Finally, if you see some Cron Job entries but no "Cron Job: Completed" entry this suggests the cron is being terminated prematurely by your server. Please increase the memory_limit setting in your server's php.ini to 64M or 128MB which should easily be sufficient. Then see if things improve and you start getting the cron job report again over the next few days. If the cron still doesn't complete with the increased memory limit and execution time please run the following command from the server's command line interface/SSH: php -q /path/to/cron.php -vvv Replace /path/to/ with the actual path to your cron.php file. This should then output some data for us to review. We have collected some of the most most common errors and their causes, refer to the appropriate page in the following sections: *http://docs.whmcs.com/Server_Modules *http://docs.whmcs.com/Domain_Registrars *http://docs.whmcs.com/Common_Troubleshooting_Tips#Server_Errors 0 Quote Link to comment Share on other sites More sharing options...
snowdragon4311 Posted January 24, 2017 Share Posted January 24, 2017 (edited) Hi Chris, Thanks for the explanations. here are the last set of Cron related logs filtered under in Utilities > Logs > Activity Log. http://awesomescreenshot.com/094688tw59 Edited January 24, 2017 by snowdragon4311 0 Quote Link to comment Share on other sites More sharing options...
snowdragon4311 Posted January 24, 2017 Share Posted January 24, 2017 btw, i am still getting the email notification WHMCS Daily System Cron Attention Needed Your WHMCS is configured to perform the Daily System Cron during the hour of 12 am. However, the Daily System Cron did not execute within that hour as expected. - - - Updated - - - 0 Quote Link to comment Share on other sites More sharing options...
ryus Posted January 24, 2017 Share Posted January 24, 2017 Hi, I am facing the exact same issue, is it resolved ? 0 Quote Link to comment Share on other sites More sharing options...
snowdragon4311 Posted January 25, 2017 Share Posted January 25, 2017 Hi, I am facing the exact same issue, is it resolved ? looks like it has been stoped suddently for last over 12 hours. ill update you again after some time. 0 Quote Link to comment Share on other sites More sharing options...
snowdragon4311 Posted January 26, 2017 Share Posted January 26, 2017 Hi, I am facing the exact same issue, is it resolved ? now i dont see the "WHMCS Daily System Cron Attention Needed" any more. probably the hotfix have done the job i guess. - - - Updated - - - Hi, I am facing the exact same issue, is it resolved ? now i dont see the "WHMCS Daily System Cron Attention Needed" any more. probably the hotfix have done the job i guess. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted January 26, 2017 Share Posted January 26, 2017 Hi Snowdragon4311, Thank you for your reply. You should see a Cron Job Completed as the last line if your cron is fully completed 0 Quote Link to comment Share on other sites More sharing options...
rota919 Posted March 16, 2017 Share Posted March 16, 2017 (edited) I have the same issue. It used to work just fine and I think it started after I applied the upgrade to ver 7.1.2 Under "Automated Settings" it says Cron Status Ok Last run 2017/03/16 09:55 On admin home page it says" Last Automation Run: 4 days ago Needs Attention. My crons run every 5 minutes on the server and automation settings is scheduled to run at 1:00am. Used to be at midnight. I can confirm billing emails were sent last night edit... I run the standard crons without any switches or parameters Edited March 16, 2017 by rota919 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted March 16, 2017 Share Posted March 16, 2017 I have the same issue.It used to work just fine and I think it started after I applied the upgrade to ver 7.1.2 Under "Automated Settings" it says Cron Status Ok Last run 2017/03/16 09:55 On admin home page it says" Last Automation Run: 4 days ago Needs Attention. My crons run every 5 minutes on the server and automation settings is scheduled to run at 1:00am. Used to be at midnight. I can confirm billing emails were sent last night edit... I run the standard crons without any switches or parameters Thanks for your post, can you tell me whats showing in your Activity Logs at the time the cron runs? 0 Quote Link to comment Share on other sites More sharing options...
FHChris Posted April 29, 2017 Share Posted April 29, 2017 I'm running into the same issue with 7.1.2. Here are the activity logs for the last cron run- Date Description Username IP Address 04/29/2017 10:00 Automated Task: Starting WHMCS Updates System 04/29/2017 10:00 Automated Task: Starting Domain Expiry System 04/29/2017 10:00 Automated Task: Starting Client Status Update System 04/29/2017 10:00 Automated Task: Starting Server Usage Stats System 04/29/2017 10:00 Automated Task: Starting Email Marketer Rules System 04/29/2017 10:00 Automated Task: Starting Delayed Affiliate Commissions System 04/29/2017 10:00 Automated Task: Starting Inactive Tickets System 04/29/2017 10:00 Automated Task: Starting Fixed Term Terminations System 04/29/2017 10:00 Automated Task: Starting Overdue Terminations System 04/29/2017 10:00 Automated Task: Starting Overdue Suspensions System 04/29/2017 10:00 Automated Task: Starting Cancellation Requests System 04/29/2017 10:00 Automated Task: Starting Domain Renewal Notices System 04/29/2017 10:00 Automated Task: Starting Invoice & Overdue Reminders System 04/29/2017 10:00 Automated Task: Starting Credit Card Charges System 04/29/2017 10:00 Cron Job: Late Invoice Fees added to System 04/29/2017 10:00 Automated Task: Starting Late Fees System 04/29/2017 10:00 Automated Task: Starting Invoices System 04/29/2017 10:00 Automated Task: Starting Product Pricing Updates System 04/29/2017 10:00 Automated Task: Starting Currency Exchange Rates System 04/28/2017 10:00 Automated Task: Starting WHMCS Updates System 04/28/2017 10:00 Automated Task: Starting Domain Expiry System 04/28/2017 10:00 Automated Task: Starting Client Status Update System 04/28/2017 10:00 Automated Task: Starting Server Usage Stats System 04/28/2017 10:00 Automated Task: Starting Email Marketer Rules System 04/28/2017 10:00 Automated Task: Starting Delayed Affiliate Commissions System 04/28/2017 10:00 Automated Task: Starting Inactive Tickets System 04/28/2017 10:00 Automated Task: Starting Fixed Term Terminations System 04/28/2017 10:00 Automated Task: Starting Overdue Terminations System 04/28/2017 10:00 Automated Task: Starting Overdue Suspensions System 04/28/2017 10:00 Automated Task: Starting Cancellation Requests System 04/28/2017 10:00 Automated Task: Starting Domain Renewal Notices System 04/28/2017 10:00 Automated Task: Starting Invoice & Overdue Reminders System 04/28/2017 10:00 Automated Task: Starting Credit Card Charges System 04/28/2017 10:00 Cron Job: Late Invoice Fees added to System 04/28/2017 10:00 Automated Task: Starting Late Fees System 04/28/2017 10:00 Email Sent to System 04/28/2017 10:00 Invoice Marked Paid - System 04/28/2017 10:00 Email Sent to System 04/28/2017 10:00 Created Invoice - System 04/28/2017 10:00 Automated Task: Starting Invoices System 04/28/2017 10:00 Automated Task: Starting Product Pricing Updates System 04/28/2017 10:00 Automated Task: Starting Currency Exchange Rates System 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.