X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=TODO;h=4aa76497260be487702c727ae5eef6e3b4bd8641;hb=master;hp=2d5c4a5ef978b125a7b9c7b24e20a9d700f7d12e;hpb=dcb2495b5a97360cfa074acbd10b1e8bde40da3e;p=whenjobs.git diff --git a/TODO b/TODO index 2d5c4a5..4aa7649 100644 --- a/TODO +++ b/TODO @@ -1,13 +1,7 @@ -Allow the output of a job to be listed. This is pretty easy since we -know the tmpdir and the output file. +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.