aboutsummaryrefslogtreecommitdiff
path: root/schedule.ccl
blob: 99684d364deb57b7d16323d01b4fc888c99e72cc (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
# 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"
}