Why not fool around with alarm and its signal handler $SIG{ALRM}?
I don't have time to make such a script, but this might help you.
In reply to Re: cron-like timing within perl script?
by mce
in thread cron-like timing within perl script?
by n8ur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |