Setting up cron for Magento 2.x web stores

  1. Log in to ssh/terminal, or switch to, the file system owner.
  2. Change to your Magento installation directory.
  3. Enter the following command:
bin/magento cron:install

If you want to rewrite an existing crontab hen use –force like below.

bin/magento cron:install --force

To remove a crontab just use the command below.

bin/magento cron:remove

Updated : 10 Apr 24

Knowledge Bites

Scroll to Top