Jump to content

Cron problem, System Cron Tasks don't completed successfully within the last 24 hours.


Recommended Posts

Hi,

 

I getting this eror:

 

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

System Cron Tasks

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.

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

 

 

After try to search there is problem finally I Install new server with new fresh install. After config Cron, everything was work and get every day "WHMCS Cron Job Activity" email.

 

Just I setup of DataBase backup, config hosting servers. The problem start be same... (funny is everything work, but not at full what must cron do)

 

Everything work like shut to work, all config made like must be made (second install) everything is double check. I don't see any issue from my side (i hope).

 

Then I delete all not using servers, move cron back to the public, change back cron patch, delete mysql backup form whmcs. Everything was start work normally again...

 

I really don't know there is problem, really not cron directory.

 

Now I try catch problem step by step, In my opinion its a bug...

 

 

Maybe somebody can explain how to run immediately cron? what not need wait 24 hours or half day for it?

 

I'm not talk about whmcs/crons/cron.php or others but I need run immediately what cron who runs once a 24 hour...

 

in (Automation Settings -> Scheduling -> Time of Day) I need to forced to run it for my testing...

 

how to do it by WHMCS system? Directadmin panel? or ssh connection?

 

open in website cron.php its not work... there is another file of main cron?

 

thanks :)

Link to comment
Share on other sites

Hi,

 

problem is still is here...

 

 

I delete all whmcs configuration (servers, backup and so), and start made force cron by ssh, Everything work fine without any problems, no problems, start config server back, one by one,

 

I config mysql backup to email, after FORCE cron i get emails, I get full cron work with the cron closing.

I config mysql backup to ftp, after FORCE cron i get emails, I get full cron work with the cron closing.

I config servers, after FORCE cron i get emails, I get full cron work with the cron closing.

I config everything what I was deleted, after FORCE cron i get emails, I get full cron work with the cron closing.

I move cron directory, write info to cron config and whmcs config there is cron, after FORCE cron i get emails, I get full cron work with the cron closing.

 

I start use normaly WHMCS without any problems, made some test users, everything is fine! no problems, I made more time of force cron, and cron work without any problems, I get emails, I get backup to FTP and email, Cron closing normaly...

 

whats all, I thing case is close...

 

 

Just now I was wait more then 24 hour until cron will make by system normal working without my force cron... to be sure what everything is perfect.

 

And is again problems, same problem:

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

System Cron Tasks

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.

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

 

by log, cron stop:

 

Automated Task: Starting Server Usage Stats

 

and this is end of the cron, no more....

 

 

I really don't know there is problem...

Link to comment
Share on other sites

Hi Chris,

 

I open ticket, Sometime no problem, sometime problems... I just want found there is problem and maybe it will help for future yours costumers.

 

if I run:

 

php -q cron.php --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 16.0 MiB

Currency Exchange Rates

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

Product Pricing Updates

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

Invoices

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

Late Fees

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

Credit Card Charges

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

Invoice & Overdue Reminders

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

Domain Renewal Notices

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

Cancellation Requests

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

Overdue Suspensions

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

Overdue Terminations

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

Fixed Term Terminations

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

Inactive Tickets

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

Delayed Affiliate Commissions

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

Affiliate Reports

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

Email Marketer Rules

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

Credit Card Expiry Notices

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

Server Usage Stats

17/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░] 77% 1 min/1 min 20.0 MiB

Overage Billing Charges

18/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░] 81% 1 min/1 min 20.0 MiB

Client Status Update

19/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░] 86% 1 min/1 min 20.0 MiB

Domain Expiry

20/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░] 90% 1 min/1 min 20.0 MiB

Ticket Escalation Rules

21/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░] 95% 1 min/1 min 20.0 MiB

WHMCS Updates

22/22 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% 1 min/1 min 24.0 MiB

 

 

Sending Daily Cron Digest email

 

Executing System Queue

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

 

4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100% < 1 sec/< 1 sec 26.0 MiB

 

 

[OK] Completed

 

 

 

Like you see system little stack on 72% (Server Usage Stats) but after min he past everything...

 

from WHMCS log not show anything more then (Automated Task: Starting Server Usage Stats) he stop here... and still I have "System Cron Tasks 24 hour error"

 

But in this case I get mysql backup email and to ftp. Just WHMCS logs stop at (Server Usage Stats) and then Cron was in schedule he stop and I don't get any mysql backup and so...

 

 

 

I made again same cron: php -q cron.php --force -vvv

 

And scenario is a same, 72% stop, after one min he past. everything OK by ssh, I get "WHMCS Database Backup" by email and FTP, WHMCS last log is "Automated Task: Starting Server Usage Stats" and still I have "System Cron Tasks 24 hour error"

 

 

I removed one server from servers setup, it was CentovaCast server witch I using, but this server was not connect to any product. Force cron past. No errors from log, and "System Cron Tasks 24 hour error was gone"

 

Its seems is working now, but it is same scenario like yesterday, It was work, no errors, all log is in same place, but after 24 hour its back to same problem without any changes...

 

 

I will check it. And inform if be same situation.

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