pikerr Posted October 15, 2019 Share Posted October 15, 2019 Dear Team, Initially, I have set to every 5 minutes to run the cron job, where will be a few notification emails trigger to my company mailbox and admin mailbox each time the cron job has executed per 5 mins block. (the command line is for every 5 minutes as below:) */5 * * * * php -q72 /home/example/public_html/client/crons/cron.php Thus I have to set twice a day which is 1 pm and 5 pm, the same number of notification emails trigger to both admin and company mailbox however the frequency is set as twice a day. The command line is ( 0 13,17 * * * php72 /home/example/public_html/client/crons/cron.php ) Under WHMCS , I have set daily cron to run at 9am. I have set a scripts name runningWHMCScrons.sh to run daily 9 am 0 9 * * * /home/example/scripts/runningWHMCScrons.sh I face a slight issue for the settings above, for overdue reminder notice, it has been triggered twice (which is 1 pm and next day 9am) however I do not encounter this issue for invoice generating? Anyone has encountered the same issue as me ( generating repeated overdue reminder notice? ) and manage to rectify , please let me know the solution Thank you in advance. 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted October 15, 2019 Share Posted October 15, 2019 You shouldn't receive emails every 5 minutes - at least not WHMCS emails. What are the contents of those emails? It might just be the system cron emails which you can disable. We've seen the same issue if we force the daily cron to run multiple times (which shouldn't be done). 0 Quote Link to comment Share on other sites More sharing options...
pikerr Posted October 21, 2019 Author Share Posted October 21, 2019 noted with thanx. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.