How do "modern" cron
daemons internally schedule their jobs? Some crond
s used to schedule a run every so often via at
. So after a crontab is written out, does crond
:
- Parse the crontab for all future events and the sleep for the intervals?
- Poll an aggregated crontab database every minute to determine if the current time matches the schedule pattern?
- Other?
Thanks,
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…