in reply to Of cron job management

To prevent collisions, you can have the cronjob store its PID in a temp file, then, on the next invocation, check if the temp file exists, read it into $pid and kill 0, $pid. That will tell you if the old process is still alive, in which case you can exit or sleep for a while.

Replies are listed 'Best First'.
Re^2: Of cron job management
by mpeters (Chaplain) on Aug 22, 2006 at 17:23 UTC
    In fact, File::Pid is used for just this.