通过 SSH,我输入:crontab -e
然后 GNU nano 编辑器打开文档,我尝试了文件的不同内容:
5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/lynx -source http://mywebsite.com/includes/boot.php
--
5,10,15,20,25,30,35,40,45,50,55 * * * * http://mywebsite.com/includes/boot.php
--
5,10,15,20,25,30,35,40,45,50,55 * * * * home/myuser/includes/boot.php
保存文件后,我得到:
7953401631:~# crontab -e
crontab: 安装新的 crontab
你在 /var/mail/root 中有新邮件
但它们似乎都不起作用
我错过了什么?顺便说一句,我在 CentOS 下运行