Difference Between Shell and PHP Cron Files in Magento 1.9

cronmagento-1.9

The title pretty much sums it up. Is there a difference between the shell file and php file for the Magento cron?

If there is a difference is there a reason to run one instead of the other?

Best Answer

The cron.sh is pointing to the cron.php file, so you should be pointing your cronjob task to the .sh file.

Basically inside the PHP file resides all the logic for the cron to retrieve jobs from Magento and the sh file invokes the PHP file.

Related Topic