Jump to content

Cron job take forever


faisal

Recommended Posts

Hi

 

The main cron job take very long time to finish

 

It stuck in "Starting Updating Disk & Bandwidth Usage Stats" for about an hour!

 

 

Starting
Running Pre-Cron Hooks
Starting Generating Invoices
Invoicing Loop Service ID 3727 - 1 of 4
Invoicing Loop Service ID 3507 - 2 of 4
Invoicing Loop Service ID 1636 - 3 of 4
Invoicing Loop Service ID 3719 - 4 of 4
Invoicing Loop Addon ID 52 - 1 of 6
Invoicing Loop Addon ID 58 - 2 of 6
Invoicing Loop Addon ID 45 - 3 of 6
Invoicing Loop Addon ID 39 - 4 of 6
Invoicing Loop Addon ID 44 - 5 of 6
Invoicing Loop Addon ID 30 - 6 of 6
Generated Invoice #20799
- 1 Invoices Created
Starting Applying Late Fees
- Late Invoice Fees added to 0 Invoices
Starting Processing Credit Card Charges
Processing Capture for Invoice #20703
Capture Failed
- Credit Card Payments Processed (0 Captured, 1 Failed)
Starting Processing Invoice Reminder Notices
- Sent 2 Unpaid Invoice Payment Reminders to Invoice Numbers 20767,20769
- Sent First Notice to User xxx
- Sent First Notice to User xxx
- Sent First Notice to User xxx
- Sent First Notice to User xxx
- Sent First Notice to User xxx
- Sent 5 Reminders
Starting Processing Domain Renewal Notices
- Sent 0 Notices
Starting Processing Cancellation Requests
- Processed 0 Cancellations
Starting Processing Overdue Suspensions
- ERROR: Manual Suspension Required - No Module - xxx - xxx (Service ID: 1531 - User ID: 895)
- Processed 0 Suspensions
Starting Processing Overdue Terminations
- ERROR: Manual Terminate Required - No Module - xxx - xxx (Service ID: 1531 - User ID: 895)
- Processed 0 Terminations
Starting Performing Automated Fixed Term Service Terminations
- Processed 0 Terminations
Starting Auto Closing Inactive Tickets
Starting Processing Delayed Affiliate Commissions
- Processed 0 Pending Affiliate Payments
Starting Processing Email Marketer Rules
Starting Sending Credit Card Expiry Reminders
- Sent 0 Credit Card Expiry Notices
Starting Updating Disk & Bandwidth Usage Stats

 

 

 

Any idea why this happen?

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi,

Please 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 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.

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