Jump to content

Enquiry on crons jobs


pikerr

Recommended Posts

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.


 

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