1<?xml version="1.0" encoding="UTF-8"?>
2<!-- CHART Scheduler configuration files -->
3<element name="schedule" xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
4 <interleave>
5 <optional>
6 <attribute name="xsi:noNamespaceSchemaLocation">
7 <value>http://chart/schemas/schedule.xsd</value>
8 </attribute>
9 </optional>
10 <optional>
11 <element name="description">
12 <a:documentation>Describe the purpose of this configuration file</a:documentation>
13 <text/>
14 </element>
15 </optional>
16 <optional>
17 <element name="enabled">
18 <data type="boolean"/>
19 </element>
20 </optional>
21 <element name="trigger">
22 <a:documentation>Set up the conditions to create a job or jobs</a:documentation>
23 <choice>
24 <element name="hourly">
25 <a:documentation>Time based hourly trigger</a:documentation>
26 <optional>
27 <element name="minute">
28 <data type="unsignedInt">
29 <param name="maxInclusive">59</param>
30 </data>
31 </element>
32 </optional>
33 </element>
34 <element name="daily">
35 <a:documentation>Time based trigger at the same time every day</a:documentation>
36 <interleave>
37 <element name="hour">
38 <data type="unsignedInt">
39 <param name="maxInclusive">23</param>
40 </data>
41 </element>
42 <optional>
43 <element name="duration">
44 <data type="duration"/>
45 </element>
46 </optional>
47 <optional>
48 <element name="offset">
49 <data type="duration"/>
50 </element>
51 </optional>
52 </interleave>
53 </element>
54 <element name="weekly">
55 <a:documentation>Time based trigger at the same day and time each week</a:documentation>
56 <interleave>
57 <element name="day">
58 <choice>
59 <value>Monday</value>
60 <value>Tuesday</value>
61 <value>Wednesday</value>
62 <value>Thursday</value>
63 <value>Friday</value>
64 <value>Saturday</value>
65 <value>Sunday</value>
66 </choice>
67 </element>
68 <element name="hour">
69 <data type="unsignedInt">
70 <param name="maxInclusive">23</param>
71 </data>
72 </element>
73 <optional>
74 <element name="offset">
75 <data type="duration"/>
76 </element>
77 </optional>
78 </interleave>
79 </element>
80 <element name="monthly">
81 <a:documentation>Time based monthly trigger</a:documentation>
82 <interleave>
83 <element name="day">
84 <data type="unsignedInt">
85 <param name="minInclusive">1</param>
86 <param name="maxInclusive">31</param>
87 </data>
88 </element>
89 <element name="hour">
90 <data type="unsignedInt">
91 <param name="minInclusive">0</param>
92 <param name="maxInclusive">23</param>
93 </data>
94 </element>
95 <element name="offset">
96 <data type="duration"/>
97 </element>
98 </interleave>
99 </element>
100 <element name="directory-monitor">
101 <a:documentation>Directory monitor</a:documentation>
102 <interleave>
103 <element name="directory">
104 <text/>
105 </element>
106 <element name="pattern">
107 <text/>
108 </element>
109 <optional>
110 <element name="pdu-delay-queue">
111 <data type="unsignedInt"/>
112 </element>
113 </optional>
114 <optional>
115 <element name="timeout">
116 <data type="duration"/>
117 </element>
118 </optional>
119 <optional>
120 <element name="parser">
121 <text/>
122 </element>
123 </optional>
124 </interleave>
125 </element>
126 </choice>
127 </element>
128 <zeroOrMore>
129 <element name="response">
130 <a:documentation>What should we do when a trigger is met?</a:documentation>
131 <interleave>
132 <optional>
133 <element name="sid">
134 <text/>
135 </element>
136 </optional>
137 <optional>
138 <element name="scid">
139 <text/>
140 </element>
141 </optional>
142 <optional>
143 <element name="gsid">
144 <text/>
145 </element>
146 </optional>
147 <optional>
148 <element name="cfid">
149 <text/>
150 </element>
151 </optional>
152 <optional>
153 <element name="ogsid">
154 <text/>
155 </element>
156 </optional>
157 <zeroOrMore>
158 <element name="activity">
159 <text/>
160 <optional>
161 <element name="scids">
162 <text/>
163 </element>
164 </optional>
165 </element>
166 </zeroOrMore>
167 </interleave>
168 </element>
169 </zeroOrMore>
170 </interleave>
171</element>