没有执行,开机之后会重新执行,可以参考/etc/cron.d/0hourly和/etc/cron.hourly/0anacron一下这两个文件
我觉得应该只会执行一次weekly,daily不会执行,因为大于7了就不会去检查daily了
root 可以执行,如果普通用户有执行权限的话,也可以执行的。
不能设置到某个时间点,时间是在配置后随机的。
man anacron里面说到了下面这段话
After the command exits, Anacron records the date in a special timestamp file for
that job, so it can know when to execute it again. 结束后,才会更新时间记录,所以应该会重新执行。
应该是没有的,这种东西老师都不会放出来的
额 我回答你第一个问题
[root@]# cat /etc/cron.d/0hourly
# Run the hourly jobs
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
01 * * * * root run-parts /etc/cron.hourly
/etc/cron.d/下的文件是系统生效的