通过命令行设置drupal cronjob
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了通过命令行设置drupal cronjob相关的知识,希望对你有一定的参考价值。
# To edit a crontab through the command line, type the following (may need root priv): crontab -e # Add ONE of the following lines: 45 * * * * /usr/bin/wget -O - -q -t 1 http://www.example.com/cron.php 45 * * * * curl --silent --compressed http://example.com/cron.php # This would have a lynx, wget, or curl visit your cron page 45 minutes after every hour.
以上是关于通过命令行设置drupal cronjob的主要内容,如果未能解决你的问题,请参考以下文章
如何定期将shell脚本的结果设置为Kubernetes Cronjob的参数