X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=TODO;h=4aa76497260be487702c727ae5eef6e3b4bd8641;hb=master;hp=a4e253b24a3461f346a4a631ebc8aa3ddd7c1df2;hpb=0c9faf57f9239b0fe1c0b46353d222bb4cf5cd74;p=whenjobs.git diff --git a/TODO b/TODO index a4e253b..4aa7649 100644 --- a/TODO +++ b/TODO @@ -1,16 +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. - pre() and post() - (instead of cleanup) - - - 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.