Setting Up Magento Cron Jobs

Magento sites do require you to use cron jobs to keep your content indexed and up-to-date.

Each hosting company will require a slightly different configuration.

Magento Cron Jobs for Nexcess

If you’re hosting your Magento site with Nexcess.net, read their documentation on Magento cron jobs.

Example Magento Cron Jobs for CloudWays

This cron job configuration was recommended to us by the Cloudways.com team. We were using PHP 7.0 on this server.

Replace ************* with the path on your server:

{codecitation}*/1 * * * * php -c /etc/php/7.0/fpm/php.ini /home/master/applications/*************/public_html/bin/magento cron:run | grep -v “Ran jobs by schedule” >> /home/master/applications/*************/public_html/var/log/magento.cron.log
*/1 * * * * php -c /etc/php/7.0/fpm/php.ini /home/master/applications/*************/public_html/update/cron.php >> /home/master/applications/*************/public_html/var/log/update.cron.log
*/1 * * * * php -c /etc/php/7.0/fpm/php.ini /home/master/applications/*************/public_html/bin/magento setup:cron:run >>/home/master/applications/*************/public_html/var/log/setup.cron.log{/codecitation}