小编fin*_*oot的帖子

为什么 `/etc/crontab` 中的 `cron.hourly` 行是唯一没有 `test -x /usr/sbin/anacron` 的行?

我的还没改/etc/crontab呢 它仍然是默认内容,这也是许多 Linux 发行版的默认内容:

# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file
# and files in /etc/cron.d. These files also have username fields,
# that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
25 6    * * * …
Run Code Online (Sandbox Code Playgroud)

linux debian cron crontab

3
推荐指数
1
解决办法
709
查看次数

标签 统计

cron ×1

crontab ×1

debian ×1

linux ×1