Jump to content

CRON not completed


nvidian

Recommended Posts

Hello, I'm new with WHMCS and its my initial installation.

 

I have this warning at System Health:

The system cron does not appear to have completed successfully within the last 24 hours. Check your activity logs or learn more about enabling the cron in our documentation.

 

Check the General Settings > Automation:

Cron Status Ok

Last Run: 15/01/2017 23:20

 

 

Run CRON manually from SSH:

 

# /usr/local/bin/php -q /path/to/mydomain/crons/cron.php all --force -vvv

 

WHMCS Automation Task Utility: all

==================================

 

Daily Cron Automation Mode

 

Queuing Tasks

-------------

 

Force run any tasks: ignore "in progress" and "is due"

Task queues ready

 

Executing Application Queue

---------------------------

 

0/22 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░] 0% < 1 sec/< 1 sec 19.2 MiB

Currency Exchange Rates

1/22 [▓░░░░░░░░░░░░░░░░░░░░░░░░░░░] 4% < 1 sec/< 1 sec 19.5 MiB

Product Pricing Updates

2/22 [▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░] 9% < 1 sec/< 1 sec 19.5 MiB

Invoices

3/22 [▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░] 13% < 1 sec/< 1 sec 20.0 MiB

Late Fees

4/22 [▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░] 18% < 1 sec/< 1 sec 20.0 MiB

Credit Card Charges

5/22 [▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░] 22% < 1 sec/< 1 sec 20.0 MiB

Invoice & Overdue Reminders

6/22 [▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░] 27% < 1 sec/< 1 sec 20.2 MiB

Domain Renewal Notices

7/22 [▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░] 31% < 1 sec/< 1 sec 20.2 MiB

Cancellation Requests

8/22 [▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░] 36% < 1 sec/< 1 sec 20.2 MiB

Overdue Suspensions

9/22 [▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░] 40% < 1 sec/< 1 sec 20.5 MiB

Overdue Terminations

10/22 [▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░] 45% < 1 sec/< 1 sec 20.8 MiB

Fixed Term Terminations

11/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░] 50% < 1 sec/< 1 sec 20.8 MiB

Inactive Tickets

12/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░] 54% < 1 sec/< 1 sec 20.8 MiB

Delayed Affiliate Commissions

13/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░] 59% < 1 sec/< 1 sec 20.8 MiB

Affiliate Reports

14/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░] 63% < 1 sec/< 1 sec 21.0 MiB

Email Marketer Rules

15/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░] 68% < 1 sec/< 1 sec 21.0 MiB

Credit Card Expiry Notices

16/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░] 72% < 1 sec/< 1 sec 21.0 MiB

Server Usage Stats

#

 

Is that means that it stuck in 72% ? What should I do to fix this ? Thank you.

Link to comment
Share on other sites

Hello nvidian,

 

This indicates that the cron is dropping out at the point in which it is processing the Server Usage Stats. 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

Sorry I forgot to mention the version of WHMCS and panels:

- WHMCS 7.1.1.

- 1 server running Plesk Onyx

- 1 server running Plesk 12.5

 

I have 2 servers, both running Plesk and last time I checked TEST CONNECTION it said "SUCCESSFUL!". Also Id try module create provision and it work without problem.

 

Does it means that WHMCS 7.1.1 still has some issue with Plesk ?

Link to comment
Share on other sites

UPDATE:

After I disable server with Plesk 12.5 and keep Plesk Onyx server enabled - cron.php now run until it finished/completed.

 

Like I said above, I did try TEST CONNECTION and module create provision without problem, so I dont think its a "inactive or offline server" issue.

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