Stratus Guides - Default Cron Configurations

For Magento to run properly a number of recommended cron tasks must be in place.

Use the following as a guide for configuring production environments in the Webscale STRATUS Cron > Schedule panel.

Magento 1

Magento 1 requires to run every minute to update and execute it’s internal schedule.  On a default Webscale STRATUS environment that configuration would be:

M1 Cron-62

To configure the cron using crontab via shell access, enter:

* * * * * /bin/bash /srv/public_html/ >> /srv/public_html/var/log/cron.log 2>&1

Magento 2

Magento 2.x requires three cron tasks. By default, these are already configured on every new Webscale STRATUS environment. If the document or web roots are changed, the tasks will need updated to show the correct file paths.

To enter these cron tasks using crontab, use:

  • Cron 1/usr/local/bin/php /srv/public_html/bin/magento cron:run >> /srv/public_html/var/log/cron.log
  • Cron 2/usr/local/bin/php /srv/public_html/update/cron.php >> /srv/public_html/var/log/cron.log
  • Cron 3/usr/local/bin/php /srv/public_html/update/cron.php >> /srv/public_html/var/log/cron.log

Last modified January 1, 0001