+ by
[神崎瑾] (undefined)我记得要输入一个crontab -start试试
[root@ser667150311178 ~]# crontab -start
crontab: invalid option -- 't'
crontab: usage error: unrecognized option
Usage:
crontab [options] file
crontab [options]
crontab -n [hostname]
Options:
-u <user> define user
-e edit user's crontab
-l list user's crontab
-r delete user's crontab
-i prompt before deleting
-n <host> set host in cluster to run users' crontabs
-c get host in cluster to run users' crontabs
-T <file> test a crontab file syntax
-s selinux context
-V print version and exit
-x <mask> enable debugging
Default operation is replace, per 1003.2
刚才又添加了一个23点40的任务。并没有执行
[root@ser667150311178 ~]#
10 10 * * * /root/06-163
16 16 * * * /root/06-163
20 20 * * * /root/06-163
40 23 * * * /root/06-163
