如何在 drupal 7 中查看和删除 cron 作业
我是 drupal 7 的新手,我需要查看 cron 正在运行。我有一个 cron Feeds 计划每天运行一次,但现在不再需要了。我删除了 feed,但 cron 仍在运行。
谢谢
I'm new to drupal 7 and I need to see what cron is running. I had a cron Feeds scheduled to run once a day and it is no longer needed. I deleted the feed but the cron is still running.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Drupal 有一个自动 cron 实现,要禁用它,请转至 mysite.com/admin/config/system/cron 并将'Run cron every'设置为'Never'。
如果这不起作用,请检查您的服务器的
crontab
。希望这有助于
编辑
只是添加,您无法“查看”Drupal 中正在运行的作业,因为只有一个 - 您可以通过将上述设置设置为“从不”来取消该作业
Drupal has an auto-cron implementation, to disable it go to mysite.com/admin/config/system/cron and set 'Run cron every' to 'Never'.
If that doesn't work check there are no lingering jobs scheduled in your server's
crontab
.Hope that helps
EDIT
Just to add, you can't 'see' what jobs are running in Drupal as such because there is only one - the job you can cancel by setting the afore-mentioned setting to 'Never'
用于此模块 ultimate_cron
您可以阅读扩展日志消息和所有 cron 作业的控制。
Use for this module ultimate_cron
you may read extended log message and control of all cron jobs.