Jump to content

cron not generating monthly invoice


Recommended Posts


thanks for reading my text. i have whmcs latest version and what is the issue is i can see the cron not generating the monthly invoice. i have a customer who have an active product due at 08/08/2020

but i cant understand why the cron is not generating the invoice when its suppose to be generate 14 days earlier.

but if i click on the customer dashboard generate due invoice i can see system create the invoice for that client.

so can someone guide me what can be issue??

i can see in the logs



but i can't find any issue at all 😞

dont know what to do


just to let you know i have customized pdf invoice . is that giving any issue?


thanks a million in advance.

please stay safe


Link to comment
Share on other sites

There was the same issue with my WHMCS so first I checked WHMCS System Health Status. Cronjob was showing as warning so I found that cronjob is actually skip it when cronjob time on the panel / server does not match with your WHMCS cronjob set time.


Go to WHMCS Admin >> Setup >> Automation Setting. Make sure that Scheduling time and your server cronjob time is same. Manually run cronjob and check WHMCS Health Status. Cronjob should be shown in green status.


(On your server, Time of cronjob should be same as WHMCS cronjob time you set in Automation settings)

Edited by DewlanceHosting
Link to comment
Share on other sites

8 hours ago, DewlanceHosting said:

(On your server, Time of cronjob should be same as WHMCS cronjob time you set in Automation settings)

This is not recommended, we recommend the cronjob be set to execute every 5 minutes. This ensures the cron can handle tasks throughout the day and will then process the daily tasks at the time set under Automation Settings.

We have further details on this in our docs here:


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.

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.

  • 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