When i run cron.php like http://www.YOURDOMAIN.com/PATH_TO_MAGENTO/cron.php on my local server wamp i get a white page which means is runs properly.
But when i run on my remote server i get magento page saying There was no 404 CMS page configured or found
.
This means cron.php
isn't running properly?
I'm running cron.php
via cronjob in my cpanel like this /opt/alt/php56/usr/bin/php /home/path/to/magento/cron.php >> /home/path/to/magento/var/log/cron.log.
Update:
Including $isShellDisabled = true;
make it work with cronjob /opt/alt/php56/usr/bin/php /home/path/to/magento/cron.php >> /home/path/to/magento/var/log/cron.log
.
Then i changed cronjob to /bin/sh /home/path/to/magento/cron.sh > /home/path/to/magento/var/log/cron_sh.log
and it also works.