in reply to
cron functionality mimic in perl scripting
You can fork once for each interval, and then in each child run the sleep + system loop. Or you could use some system that has timers built in, I guess most of the event loops (
POE
,
AnyEvent
etc.) have such a facility.
Or use
Schedule::Cron
.
Perl 6 - second systems done right
Comment on
Re: cron functionality mimic in perl scripting
In Section
Seekers of Perl Wisdom