Setting up cron for Magento 2.x web stores
- Log in to ssh/terminal, or switch to, the file system owner.
- Change to your Magento installation directory.
- 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