X-Git-Url: http://git.annexia.org/?p=whenjobs.git;a=blobdiff_plain;f=TODO;h=4aa76497260be487702c727ae5eef6e3b4bd8641;hp=753f55792f320719d43882b808f3a0e37e98a7f3;hb=080d38e64fe2aaec17e3ff853682188196b429f9;hpb=13e08143334d6e4fcda0bdbb1444dc0ba2af6b69 diff --git a/TODO b/TODO index 753f557..4aa7649 100644 --- a/TODO +++ b/TODO @@ -1,12 +1,7 @@ -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 - -Implement native dynlink. + - Add a ~kill_oldest (bool) parameter so we can kill the oldest jobs + and start the new job.