4
<!-- Manpage converted by man2html 3.0.1 -->
6
calendar_conf - Grid Engine calendar configuration file for-
10
<I>calendar</I>_<I>conf</I> reflects the format of the Grid Engine calen-
11
dar configuration. The definition of calendars is used to
12
specify "on duty" and "off duty" time periods for Grid
13
Engine queues on a time of day, day of week or day of year
14
basis. Various calendars can be implemented and the
15
appropriate calendar definition for a certain class of jobs
16
can be attached to a queue.
18
<I>calendar</I>_<I>conf</I> entries can be added, modified and displayed
19
with the -<I>Acal</I>, -<I>acal</I>, -<I>Mcal</I>, -<I>mcal</I>, -<I>scal</I> and -<I>scall</I>
20
options to <B><A HREF="../htmlman1/qconf.html">qconf(1)</A></B> or with the calendar configuration dia-
21
log of the graphical user interface <B><A HREF="../htmlman1/qmon.html">qmon(1)</A></B>. The format of
22
the calendar configuration entries is defined as follows:
26
The name of the calendar to be used when attaching it to
27
queues or when administering the calendar definition.
30
The queue status definition on a day of the year basis. This
31
field generally will specify on which days of a year (and
32
optionally at which times on those days) a queue, to which
33
the calendar is attached, will change to a certain state.
34
The syntax of the year field is defined as follows:
37
{year_day_range_list=daytime_range_list[=state]
38
|year_day_range_list=[daytime_range_list=]state
43
<B>o</B> at least one of year_day_range_list, daytime_range_list
44
and state always have to be present,
46
<B>o</B> all day long is assumed if daytime_range_list is omitted,
48
<B>o</B> switching the queue to "off" (i.e. disabling it) is
49
assumed if state is omitted,
51
<B>o</B> the queue is assumed to be enabled for days neither
52
referenced implicitly (by omitting the
53
year_day_range_list) nor explicitly
55
and the syntactical components are defined as follows:
57
year_day_range_list := {yearday-yearday|yearday},...
58
daytime_range_list := hour[:minute][:second]-
59
hour[:minute][:second],...
60
state := {on|off|suspended}
61
year_day := month_day.month.year
62
month_day := {1|2|...|31}
63
month := {jan|feb|...|dec|1|2|...|12}
64
year := {1970|1971|...|2037}
67
The queue status definition on a day of the week basis. This
68
field generally will specify on which days of a week (and
69
optionally at which times on those days) a queue, to which
70
the calendar is attached, will change to a certain state.
71
The syntax of the week field is defined as follows:
74
{week_day_range_list[=daytime_range_list][=state]
75
|[week_day_range_list=]daytime_range_list[=state]
76
|[week_day_range_list=][daytime_range_list=]state} ...
80
<B>o</B> at least one of week_day_range_list, daytime_range_list
81
and state always have to be present,
83
<B>o</B> every day in the week is assumed if week_day_range_list
86
<B>o</B> syntax and semantics of daytime_range_list and state are
87
identical to the definition given for the year field
90
<B>o</B> the queue is assumed to be enabled for days neither
91
referenced implicitly (by omitting the
92
week_day_range_list) nor explicitly
94
and where week_day_range_list is defined as
96
week_day_range_list := {weekday-weekday|weekday},...
97
week_day := {mon|tue|wed|thu|fri|sat|sun}
99
with week_day ranges the week_day identifiers must be dif-
103
Successive entries to the year and week fields (separated by
104
blanks) are combined in compliance with the following rule:
106
<B>o</B> "off"-areas are overridden by overlapping "on"- and
107
"suspended"-areas and "suspended"-areas are overridden by
110
Hence an entry of the form
112
week 12-18 tue=13-17=on
114
means that queues referencing the corresponding calendar are
115
disabled the entire week from 12.00-18.00 with the exception
116
of Tuesday between 13.00-17.00 where the queues are avail-
120
<B>o</B> Area overriding occurs only within a year/week basis. If
121
a year entry exists for a day then only the year calendar
122
is taken into account and no area overriding is done with
123
a possibly conflicting week area.
126
<B>o</B> the second time specification in a daytime_range_list may
127
be before the first one and treated as expected. Thus an
130
year 12.03.2004=12-11=off
132
causes the queue(s) be disabled 12.03.2004 from 00:00:00
133
- 10:59:59 and 12:00:00 - 23:59:59.
136
(The following examples are contained in the directory
137
$SGE_ROOT/util/resources/calendars).
139
<B>o</B> Night, weekend and public holiday calendar:
141
On public holidays "night" queues are explicitly enabled.
142
On working days queues are disabled between 6.00 and
143
20.00. Saturday and Sunday are implicitly handled as
147
year 1.1.1999,6.1.1999,28.3.1999,30.3.1999-
148
31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
153
<B>o</B> Day calendar:
155
On public holidays "day"-queues are disabled. On working
156
days such queues are closed during the night between
157
20.00 and 6.00, i.e. the queues are also closed on Monday
158
from 0.00 to 6.00 and on Friday from 20.00 to 24.00. On
159
Saturday and Sunday the queues are disabled.
162
year 1.1.1999,6.1.1999,28.3.1999,30.3.1999-
163
31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
165
week mon-fri=20-6 sat-sun
168
<B>o</B> Night, weekend and public holiday calendar with suspen-
171
Essentially the same scenario as the first example but
172
queues are suspended instead of switching them "off".
174
calendar_name night_s
175
year 1.1.1999,6.1.1999,28.3.1999,30.3.1999-
176
31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
178
week mon-fri=6-20=suspended
181
<B>o</B> Day calendar with suspension:
183
Essentially the same scenario as the second example but
184
queues are suspended instead of switching them "off".
187
year 1.1.1999,6.1.1999,28.3.1999,30.3.1999-
188
31.3.1999,18.5.1999-19.5.1999,3.10.1999,25.12.1999,26
190
week mon-fri=20-6=suspended sat-sun=suspend
195
<B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B>, <B><A HREF="../htmlman1/qconf.html">qconf(1)</A></B>, <B><A HREF="../htmlman5/queue_conf.html">queue_conf(5)</A></B>.
198
See <B><A HREF="../htmlman1/sge_intro.html">sge_intro(1)</A></B> for a full statement of rights and permis-
217
Man(1) output converted with
218
<a href="http://www.oac.uci.edu/indiv/ehood/man2html.html">man2html</a>