[root@wx-a ~]# crontab --help
crontab: invalid option -- '-'
crontab: usage error: unrecognized option
usage: crontab [-u user] file
crontab [-u user] [ -e | -l | -r ]
(default operation is replace, per 1003.2)
-e (edit user's crontab) 编辑crontab 工作内容
-l (list user's crontab) 查看crontab工作内容
-r (delete user's crontab) 删除所有的crontab任务
-i (prompt before deleting user's crontab)
-s (selinux context)
默认情况下,任何用户只要不被列入/etc/cron.deny 当中,都可以执行”crontab –e” 去编辑自己的例行性命令了,
新闻热点
疑难解答