Just another Perl shrine | |
PerlMonks |
Re^2: Cron Jobs That Run For Too Longby ruoso (Curate) |
on Dec 20, 2005 at 22:07 UTC ( [id://518197]=note: print w/replies, xml ) | Need Help?? |
Just a note, adding to what sgifford said... I've seen some scripts around listing /proc to check if the process is still running. I prefer to use a kill 0 on the proccess... And I, personally, prefer the second way because it can be used for lockfiles even if the only place you can write the lockfile can't provide locking, or the locking isn't reliable (NFS)
daniel
In Section
Seekers of Perl Wisdom
|
|