This commit is contained in:
nick
2018-05-04 10:01:58 +08:00
parent 3b7420e552
commit cadd040942
2 changed files with 5 additions and 4 deletions

View File

@ -6,9 +6,9 @@ Linux下的任务调度分为两类系统任务调度和用户任务调度。
用户任务调度:用户定期要执行的工作,比如用户数据备份、定时邮件提醒等。
`/etc/cron.deny` 该文件中所列用户不允许使用 crontab 命令,默认不存在
`/etc/cron.deny` 该文件中所列用户不允许使用 `crontab` 命令,亲测 Ubuntu16.04 默认不存在CentOs7.2 存在
`/etc/cron.allow` 该文件中所列用户允许使用 `crontab` 命令,默认不存在
`/etc/cron.allow` 该文件中所列用户允许使用 `crontab` 命令,亲测 Ubuntu16.04 、CentOs7.2 存在默认不存在
`/var/spool/cron/` 所有用户 `crontab` 文件存放的目录,以用户名命名