Change whenjobs --set syntax (NOTE: breaks compatibility).
[whenjobs.git] / TODO
diff --git a/TODO b/TODO
index a4e253b..391136b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,16 +1,9 @@
-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
+ - Add a ~kill_oldest (bool) parameter so we can kill the oldest jobs
+   and start the new job.
 
 Implement native dynlink.