My Magento cron works normally about a few months ago. But recently, it suddenly stop generating schedule. The cron command itself running fine in my hosting server. It is Magento ver 1.8.0.0.
These are what I have tried:
I try executing cron.php in the browser, and it doesn't generate schedule in cron_schedule table.
Install AOE Scheduler extension, hoping it can solved the problem. I can generate schedule using this extension, but Magento cron cannot execute the cron schedule.
Install fresh Magento ver 1.8.0.0 in hosting server, and then executing cron.php in the browser, cron_schedule table still empty.
Install fresh Magento ver 1.8.0.0 in my localhost, and then executing cron.php in the browser, it generates schedule. So I try to upload it to the hosting server. I clear Magento cache, then executing cron.php in the browser, surprisingly nothing happen in cron_schedule table. But it works fine in my localhost.
I have another Magento site ver 1.7.0.2 in the same hosting server, the cron is working fine.
I still don't know what the cause of this problem, so I post it here. Hoping that somebody have the same problem, and share the solution.
/usr/bin/wget http://www.mysite.com/cron.php >/dev/null 2>&1
.