[root@SH spool]# ls |xargs rm -rf
[root@SH spool]# ls
[root@SH spool]# cd
[root@SH ~]# crontab -l
cron: No such file or directory
cron: created
no crontab for root
计划任务全部丢失,只能想办法重新写过
[root@SH ~]# crontab -e
no crontab for root - using an empty one
crontab: installing new crontab
[root@SH ~]# /etc/init.d/crond restart
Stopping crond: [ OK ]
Starting crond: [ OK ]
没有评论:
发表评论