riverty logo


Get Started Login

Cron Job - Shopware 6

Steps to Activate Cron Job

Step 1: Connect to Your Server

Access your server by connecting via SSH.

Step 2: Create a Cron Job

Once you're connected to your server via SSH, use the following command to open the crontab file:

crontab -e

Step 3: Edit

If there is an option to edit the crontab file, select the preferable option

Step 4: Add command

Add this command to run the plugin command every 15 minutes

Cron Job Shopware 6.png

*/15 * * * * /usr/bin/php -d memory_limit=-1 /path/to/shopware/installation/bin/console riverty:order-state-handle >> /path/to/shopware/installation/var/log/crons/riverty.log 2>&1

How to Add a Cron Job via cPanel