in reply to Re: Cron Jobs That Run For Too Long
in thread Cron Jobs That Run For Too Long
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Cron Jobs That Run For Too Long
by adamk (Chaplain) on Dec 20, 2005 at 23:22 UTC | |
by LanX (Saint) on Apr 23, 2021 at 16:02 UTC | |
by Bod (Parson) on Apr 23, 2021 at 17:52 UTC | |
by LanX (Saint) on Apr 23, 2021 at 19:21 UTC | |
by Bod (Parson) on Apr 24, 2021 at 11:56 UTC | |
| |
by astroboy (Chaplain) on Dec 23, 2005 at 18:40 UTC | |
by Anonymous Monk on Oct 21, 2016 at 19:08 UTC | |
by Anonymous Monk on Jul 12, 2007 at 15:36 UTC | |
by marto (Cardinal) on Jul 12, 2007 at 15:46 UTC |
In Section
Seekers of Perl Wisdom