aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: fc430824353cb1d3b1f94104955d6ce7cced2295 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Schedule definitions for thorn ManualTermination
# $Header$

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 ManualTermination_Init at WRAGH
  {
    LANG:C
  } "Initialise manual termination"

  schedule ManualTerminationFile at EVOL
  {
    LANG:C
  } "Check termination file"

  schedule ManualTermination_Cleanup at SHUTDOWN
  {
    LANG:C
  } "Clean up termination file"
}