Skip to main content

Cron job not running on a Monday but runs Wed & Frid

Comments

5 comments

  • 24x7server
    Hello, If your cron is working fine on a Wed and a Friday then there is no issues with your cron setup, I think there was an issue with the crond service at Monday and due to that you faced this issues. I will suggest you monitor your server cron logs at Monday if you are getting same issues with the Monday cron
    0
  • cPanelMichael
    Hello :) You can also enable monitoring for the "crond" service to ensure it restarts automatically in the event it fails: "WHM Home " Service Configuration " Service Manager" If the log shows the cron job ran at the specified time, then it likely ran and the script might not have completed the action it was configured to. Thank you.
    0
  • donna o
    Thanks Michael and 24x7server - I have done this now and will see what happens on Monday. Its not a critical job and I can initiate it from the browser. I'll let you know what happens. Cheers D
    0
  • donna o
    Hi Michael and 24x7 I enabled monitoring for the "crond" service but still the cron job didn't run on Monday at 7:30am. I had also scheduled for 10am and this one did run (but 10am is a little late for this job to run). Which logs should I be checking to ensure the job is running? Is there something else I can do? Thanks for your help
    0
  • cPanelMichael
    Check /var/log/cron to ensure the cron job ran. If it did, the issue is not with the cron job but with your script. You may need to check with the developers of the script to determine why it does not run as intended at specific times. Thank you.
    0

Please sign in to leave a comment.