I've tried many solutions, but can not seem to get cron restored. It was working fine and suddenly it no longer does. I have Truncated the cron_schedule table, but it doesn't populate. If I run cron.php (Had to remove the block from .htaccess) it will populate the cron_schedule table, however the cron I used that previously worked, no longer works.

sh /home/vigeos/public_html/cron.sh 

I have tried

/home/vigeos/public_html/cron.sh /home/vigeos/public_html/cron.php -mdefault
/home/vigeos/public_html/cron.sh /home/vigeos/public_html/cron.php -malways


/bin/sh /home/vigeos/public_html/cron.sh

I even ran which php and changed cron.sh to be


Still no results.

I also tried to change permissions of cron.sh and cron.php to be 744 which also did not work. I'm running out of ideas here. I even restarted cron daemon in between.

Any suggestions?


I realize this is an old post, but did you ever get this resolved? I have run into some cron issues recently and, as far as I can tell, the cron.sh file got corrupted at some point in the 1.9 releases. There are tabs where there should be spaces and missing spaces around one of the ;. Bash scripts are VERY picky about spacing, so even if it looks right, 1 tab does NOT equal 3 spaces in Bash world. I fixed that and everything started working again.

  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question. - From Review – Jai May 15 '19 at 0:28
  • Sure it does! If your issue is a corrupt file, you can solve it by fixing that. Feel free to alter it or make it a comment instead, but I contest it does address the OP. – BrianVPS May 17 '19 at 20:47
  • Sorry for delayed response. Yes, I figured it out. I will post my solution. – vigeos.net Jun 24 '19 at 3:18
/usr/local/bin/php /home/vigeos/public_html/cron.php -mdefault
/usr/local/bin/php /home/vigeos/public_html/cron.php -malways

This is how I solved the problem

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.