http://www.perlmonks.org?node_id=918069


in reply to Cron jobs in Perl

You may not need to use an external scheduler at all. Why not look up Perl's "sleep" command and see if you can get the same functionality all within Perl.

I have scripts that both repeat within Perl and also in a wrapper script that restarts the script should it fail or end.

I do use cron for some jobs. One thing to think about is what happens if your scheduler tries to run the program before it completes the last run. (This is not likely an issue in your case.) Another gotcha to be wary of is the run time environment. Will it be the same under a scheduler as from the prompt? Does it matter if not?