cron allows you execute long running jobs, but it's safer that you handle the timeouts of your application by doing something like that:
$SIG{ALRM} = sub { die "Game over!"; } alarm(10); sleep(20);
More info on perlipc.
Igor 'izut' Sutton
your code, your rules.
In reply to Re: using perl for a cron job
by izut
in thread using perl for a cron job
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |