【发布时间】:2020-01-24 09:49:12
【问题描述】:
我已经使用crontab -e 命令设置了corn 命令。
MAILTO=""
* * * * * /usr/bin/php7.2 /var/www/vhosts/hostname/httpdocs/bin/magento cron:run --group="test"
我已经创建了自动运行 CRON 作业的模块。但它不会自动运行。
当我点击命令php bin/magento cron:run 时,它可以工作。
我很惊讶 cron 任务是手动而不是自动执行的。
【问题讨论】:
-
请不要使用屏幕截图,使用代码块将您的输出直接复制粘贴到您的问题中。
-
好的。让我编辑。
标签: module cron scheduler auto magento-2.3