X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=TODO;h=391136bef958025ab740d3b0e42be5da277fe829;hp=753f55792f320719d43882b808f3a0e37e98a7f3;hb=ea28f8eebc4d8434e7e66d62b769d747656d27ae;hpb=13e08143334d6e4fcda0bdbb1444dc0ba2af6b69 diff --git a/TODO b/TODO index 753f557..391136b 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,9 @@ -Send mail on success and/or failure. +For Whentools.once and Whentools.max: -How to deal with stuck / long-running jobs? + - Add a ~group parameter so we can run no more than "n" jobs in one + group. - - 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 + - Add a ~kill_oldest (bool) parameter so we can kill the oldest jobs + and start the new job. Implement native dynlink.