aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'schedule.ccl')
-rw-r--r--schedule.ccl30
1 files changed, 30 insertions, 0 deletions
diff --git a/schedule.ccl b/schedule.ccl
new file mode 100644
index 0000000..99684d3
--- /dev/null
+++ b/schedule.ccl
@@ -0,0 +1,30 @@
+# Schedule definitions for thorn ManualTermination
+# $Header$
+
+STORAGE: watchminutes
+
+if (on_remaining_walltime > 0)
+{
+ schedule ManualTermination_StartTimer at WRAGH
+ {
+ LANG:C
+ } "Start timer"
+
+ schedule ManualTermination_ResetMinutes at POST_RECOVER_VARIABLES
+ {
+ LANG:C
+ } "Reset Watchtime"
+
+ schedule ManualTermination_CheckWalltime at EVOL
+ {
+ LANG:C
+ } "Check elapsed job walltime"
+}
+
+if (termination_from_file)
+{
+ schedule ManualTerminationFile at EVOL
+ {
+ LANG:C
+ } "Check termination file"
+}