Jump to content

WHMCS Daily System Cron Attention Needed


adsoma

Recommended Posts

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.

///////////////////////////////////////

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • WHMCS Technical Analyst

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

Link to comment
Share on other sites

  • 2 weeks later...

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 by snowdragon4311
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...

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 by rota919
Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • 1 month later...

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

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