[RndTbl] Potentially long cron jobs
swalberg at gmail.com
Thu Apr 1 13:18:26 CDT 2010
if [ -f $TURD ]; then
# do stuff
(yes, there's a potential race condition. Probably doesn't matter though)
On Thu, Apr 1, 2010 at 1:06 PM, Kevin McGregor
<kevin.a.mcgregor at gmail.com>wrote:
> I want to run something via cron which will take anywhere from less than a
> minute to a day or so (possibly). Most of the time it will be well under an
> hour, and I'd like it to run hourly, except if it's still running, in which
> case nothing more need be done.
> What the best way to do that?
> Roundtable mailing list
> Roundtable at muug.mb.ca
Sean Walberg <sean at ertw.com> http://ertw.com/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Roundtable