From: Richard W.M. Jones Date: Tue, 21 Feb 2012 10:43:03 +0000 (+0000) Subject: Add a TODO file. X-Git-Tag: 0.0.1~23 X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=commitdiff_plain;h=0337044605365827b9089f4f79757f5f46149dfb;ds=inline Add a TODO file. --- diff --git a/TODO b/TODO new file mode 100644 index 0000000..abf8bb8 --- /dev/null +++ b/TODO @@ -0,0 +1,10 @@ +Send mail on success and/or failure. + +How to deal with stuck / long-running jobs? + + - We should have instance/timeout settings that allows us to deal + with jobs that run too long: + + job "foo" timeout 1 hour ... # timeout the job after an hour + job "bar" single instance ... # only one instance can run + job "bar" kill previous ... # kill previous if still running