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 220.127.116.11.
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 18.104.22.168 in hosting server, and then executing cron.php in the browser, cron_schedule table still empty.
Install fresh Magento ver 22.214.171.124 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 126.96.36.199 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.