[svlug] How to have cron retry a failed job

Karsten M. Self kmself at ix.netcom.com
Tue Jan 14 19:54:22 PST 2003


on Tue, Jan 14, 2003 at 07:26:48PM -0800, matt at vazor.com (matt at vazor.com) wrote:
> Hi,
> 
> Sorry about those empty emails, my server was out of memory because of some
> sort apache problem.  Had a number of 40 MB apache processes lying about...
> 
> Anyway, what's the easiest way to have cron retry a job (bash script in this
> case) that does not return success some time x hours in the future?

* * * * * foo || echo "foo" | at now + n hours

-- 
Karsten M. Self <kmself at ix.netcom.com>        http://kmself.home.netcom.com/
 What Part of "Gestalt" don't you understand?
   Geek for hire:  http://kmself.home.netcom.com/resume.html



More information about the svlug mailing list