Magento2 定时任务管理

安装定时任务

php bin/magento cron:install
Crontab has been generated and saved

移除定时任务

php bin/magento cron:remove
Magento cron tasks have been removed

手动运行定时任务

php bin/magento cron:run
Ran jobs by schedule.