|
使用crontab -e 建立计划任务
0,15,30,45 18-06 * * * /bin/echo 'date' > /dev/tty1
保存后,提示
"/tmp/crontab.XXXXaZWmLR" 1L, 52C written
crontab: installing new crontab
"/tmp/crontab.XXXXaZWmLR":1: bad hour
errors in crontab file, can't install.
Do you want to retry the same edit?
请问这个hour哪里写的有问题,我是参考《LINUX与UNIX SHELL编程指南》这本书写的,环境是fedora10的bash,用户是root |
|