Skip to main content

Cron Jobs stopped after a change.

Comments

5 comments

  • amdbuilder
    What happens if you attempt to run the command using shell? Do you get any error messages that might indicate a server problem? You might also try enabling the cron emails to see if they have any additional information.
    0
  • Jorge Soares
    Because the Cron is stuck, I run everyday the two job commands using shell, and successfully. I made a small program that only changes a field from a table, and I put it in Cron to run 5 minutes later, with no option ">/dev/null". Nothing happened. Cron skips any Jobs Command. Ignore also one Job Command that has not changed for years. I read in other threads, topics such as "crond restart" and " crond service status up/down" ... I wonder if ...
    0
  • cPanelMichael
    You may need to reach out to your hosting provider again and ask them to verify if the "crond" service is running as it should. Thank you.
    0
  • Jorge Soares
    Unfortunately the host are not friendly and their response was: "we're all right, that's your problem!" After reading many threads, someone wrote to submit a program xxx.php, with instruction phpinfo(), and see which path was used. I figured out the Host has changed the path from "/home/" to "/home2/". I changed paths and now everything is working. Also I read in those threads to check the file "php.ini" and ".htaccess", and add a simple program (echo 'hello';) to cron, without ">/dev/null 2>&1". This helped. Cheers js
    0
  • cPanelMichael
    I am happy to see the issue is now resolved. Thank you for updating us with the outcome.
    0

Please sign in to leave a comment.