I suspect that cron just has a ordered list of times the different jobs have to be started and checks every second if the first entries in the list have to be started. It is a bit inefficient to have a process hanging around for every single job in the queue
In reply to Re: cron functionality mimic in perl scripting
by jethro
in thread cron functionality mimic in perl scripting
by coolfire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |