Allow get_dependencies to check dependencies of multiple variables.
[whenjobs.git] / TODO
diff --git a/TODO b/TODO
index 49c10a6..391136b 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,13 +1,9 @@
-How to deal with stuck / long-running jobs?
+For Whentools.once and Whentools.max:
 
- - We should have instance/timeout settings that allows us to deal
-   with jobs that run too long:
+ - Add a ~group parameter so we can run no more than "n" jobs in one
+   group.
 
-   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
-
-Should be possible to query jobs, running jobs, and kill (maybe even
-start) jobs.
+ - Add a ~kill_oldest (bool) parameter so we can kill the oldest jobs
+   and start the new job.
 
 Implement native dynlink.