/etc/crontab为空,但cron作业仍在运行。位于/ etc /cron.hourly、/etc/cron.day等中的脚本仍在运行。那么,如果不是/etc/crontab,主服务器在哪里呢?现在这些都是硬编码吗?我在Linux中处理/etc/crontab已经有20多年了。我很困惑。
谢谢,柯蒂斯
发布于 2020-03-28 15:50:47
来自cron(1)
:
Cron searches /var/spool/cron for crontab files which are named after accounts in /etc/passwd; The found crontabs are loaded into the memory. Cron also searches for /etc/anacrontab and any files in the /etc/cron.d directory
发布于 2020-10-13 18:16:02
我想这都是被称为systemd的猪处理的。如果我想让系统像Windows一样运行,我就会运行Windows。
https://unix.stackexchange.com/questions/575530
复制相似问题