Feature Requests
Share ideas, discuss and vote on requests from other users in community
 

Stop cron jobs being run twice

Russ Michaels shared this idea 6 years ago
Completed

Currently it is possible for the cron jobs to be run twice simultaneously which seems to cause problems.

Code should be added to stop this from happenning, so that the cron cannot be run again until the current run has completed.

Comments (1)

photo
1

Having an issue with this now, and I completely agree with Russ...

Most Cron based systems have a stop in place to prevent a second Cron trigger when one is already running WHMCS does not and really does need!

This is important not only to prevent errors but for security purposes as well!

Another suggestion would be to also include a hash key required for Cron to trigger (ideally one the admin generates in WHMCS settings and can be added to config.php