-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcron.html
218 lines (218 loc) · 10.4 KB
/
cron.html
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>cronjob</title>
<style type="text/css">
#cron > div {
float: left;
min-width: 100px;
border-right: 1px solid #999;
padding: 5px;
}
#cron div select {
width: 100%;
}
/* Number PreProc Type Number PreProc Statement */
#cron > div:last-of-type {
border:none;
}
#cron-output {font-weight:bold}
#cron-output-minute {color:#008}
#cron-output-hour {color:#055}
#cron-output-dom {color:#080}
#cron-output-month {color:#550}
#cron-output-dow {color:#800}
</style>
</head>
<body>
<form id="cron">
<div>
<strong>Hours:</strong><br>
<select size="12" multiple="multiple" name="cron-hours" id="cron-hours" onchange="updateField('hours')">
<option selected="selected" value="0">00</option>
<option selected="selected" value="1">01</option>
<option selected="selected" value="2">02</option>
<option selected="selected" value="3">03</option>
<option selected="selected" value="4">04</option>
<option selected="selected" value="5">05</option>
<option selected="selected" value="6">06</option>
<option selected="selected" value="7">07</option>
<option selected="selected" value="8">08</option>
<option selected="selected" value="9">09</option>
<option selected="selected" value="10">10</option>
<option selected="selected" value="11">11</option>
<option selected="selected" value="12">12</option>
<option selected="selected" value="13">13</option>
<option selected="selected" value="14">14</option>
<option selected="selected" value="15">15</option>
<option selected="selected" value="16">16</option>
<option selected="selected" value="17">17</option>
<option selected="selected" value="18">18</option>
<option selected="selected" value="19">19</option>
<option selected="selected" value="20">20</option>
<option selected="selected" value="21">21</option>
<option selected="selected" value="22">22</option>
<option selected="selected" value="23">23</option>
</select>
<a href="javascript:cronSelectAll('#cron-hours')">select all</a>
</div>
<div>
<strong>Minutes:</strong><br>
<select size="12" multiple="multiple" name="cron-minutes" id="cron-minutes" onchange="updateField('minutes')">
<option selected="selected" value="0">00</option>
<option selected="selected" value="1">01</option>
<option selected="selected" value="2">02</option>
<option selected="selected" value="3">03</option>
<option selected="selected" value="4">04</option>
<option selected="selected" value="5">05</option>
<option selected="selected" value="6">06</option>
<option selected="selected" value="7">07</option>
<option selected="selected" value="8">08</option>
<option selected="selected" value="9">09</option>
<option selected="selected" value="10">10</option>
<option selected="selected" value="11">11</option>
<option selected="selected" value="12">12</option>
<option selected="selected" value="13">13</option>
<option selected="selected" value="14">14</option>
<option selected="selected" value="15">15</option>
<option selected="selected" value="16">16</option>
<option selected="selected" value="17">17</option>
<option selected="selected" value="18">18</option>
<option selected="selected" value="19">19</option>
<option selected="selected" value="20">20</option>
<option selected="selected" value="21">21</option>
<option selected="selected" value="22">22</option>
<option selected="selected" value="23">23</option>
<option selected="selected" value="24">24</option>
<option selected="selected" value="25">25</option>
<option selected="selected" value="26">26</option>
<option selected="selected" value="27">27</option>
<option selected="selected" value="28">28</option>
<option selected="selected" value="29">29</option>
<option selected="selected" value="30">30</option>
<option selected="selected" value="31">31</option>
<option selected="selected" value="32">32</option>
<option selected="selected" value="33">33</option>
<option selected="selected" value="34">34</option>
<option selected="selected" value="35">35</option>
<option selected="selected" value="36">36</option>
<option selected="selected" value="37">37</option>
<option selected="selected" value="38">38</option>
<option selected="selected" value="39">39</option>
<option selected="selected" value="40">40</option>
<option selected="selected" value="41">41</option>
<option selected="selected" value="42">42</option>
<option selected="selected" value="43">43</option>
<option selected="selected" value="44">44</option>
<option selected="selected" value="45">45</option>
<option selected="selected" value="46">46</option>
<option selected="selected" value="47">47</option>
<option selected="selected" value="48">48</option>
<option selected="selected" value="49">49</option>
<option selected="selected" value="50">50</option>
<option selected="selected" value="51">51</option>
<option selected="selected" value="52">52</option>
<option selected="selected" value="53">53</option>
<option selected="selected" value="54">54</option>
<option selected="selected" value="55">55</option>
<option selected="selected" value="56">56</option>
<option selected="selected" value="57">57</option>
<option selected="selected" value="58">58</option>
<option selected="selected" value="59">59</option>
</select>
<a href="javascript:cronSelectAll('#cron-minutes')">select all</a>
</div>
<div>
<strong>day of month:</strong><br>
<select size="12" multiple="multiple" name="cron-dom" id="cron-dom" onchange="updateField('dom')">
<option selected="selected" value="1">01</option>
<option selected="selected" value="2">02</option>
<option selected="selected" value="3">03</option>
<option selected="selected" value="4">04</option>
<option selected="selected" value="5">05</option>
<option selected="selected" value="6">06</option>
<option selected="selected" value="7">07</option>
<option selected="selected" value="8">08</option>
<option selected="selected" value="9">09</option>
<option selected="selected" value="10">10</option>
<option selected="selected" value="11">11</option>
<option selected="selected" value="12">12</option>
<option selected="selected" value="13">13</option>
<option selected="selected" value="14">14</option>
<option selected="selected" value="15">15</option>
<option selected="selected" value="16">16</option>
<option selected="selected" value="17">17</option>
<option selected="selected" value="18">18</option>
<option selected="selected" value="19">19</option>
<option selected="selected" value="20">20</option>
<option selected="selected" value="21">21</option>
<option selected="selected" value="22">22</option>
<option selected="selected" value="23">23</option>
<option selected="selected" value="24">24</option>
<option selected="selected" value="25">25</option>
<option selected="selected" value="26">26</option>
<option selected="selected" value="27">27</option>
<option selected="selected" value="28">28</option>
<option selected="selected" value="29">29</option>
<option selected="selected" value="30">30</option>
<option selected="selected" value="31">31</option>
</select>
<a href="javascript:cronSelectAll('#cron-dom')">select all</a>
</div>
<div>
<strong>month:</strong><br>
<select size="12" multiple="multiple" name="cron-months" id="cron-months" onchange="updateField('months')">
<option selected="selected" value="1">Januar</option>
<option selected="selected" value="2">Februar</option>
<option selected="selected" value="3">März</option>
<option selected="selected" value="4">April</option>
<option selected="selected" value="5">Mai</option>
<option selected="selected" value="6">Juni</option>
<option selected="selected" value="7">Juli</option>
<option selected="selected" value="8">August</option>
<option selected="selected" value="9">September</option>
<option selected="selected" value="10">Oktober</option>
<option selected="selected" value="11">November</option>
<option selected="selected" value="12">Dezember</option>
</select>
<a href="javascript:cronSelectAll('#cron-months')">select all</a>
</div>
<div>
<strong>day of week:</strong><br>
<select size="12" multiple="multiple" name="cron-dow" id="cron-dow" onchange="updateField('dow')">
<option selected="selected" value="0">Sonntag</option>
<option selected="selected" value="1">Montag</option>
<option selected="selected" value="2">Dienstag</option>
<option selected="selected" value="3">Mittwoch</option>
<option selected="selected" value="4">Donnerstag</option>
<option selected="selected" value="5">Freitag</option>
<option selected="selected" value="6">Samstag</option>
</select>
<a href="javascript:cronSelectAll('#cron-dow')">select all</a>
</div>
<span style="display:block;clear:both"> </span>
</form>
<div id="cron-vorlagen">
<ul>
<li><a href="javascript:cronTemplate(0);">Alles auswählen</a></li>
<li><a href="javascript:cronTemplate(1);">Alle 5 Minuten</a></li>
<li><a href="javascript:cronTemplate(2);">Alle 15 Minuten</a></li>
<li><a href="javascript:cronTemplate(3);">Alle 30 Minuten</a></li>
<li><a href="javascript:cronTemplate(4);">Jede Stunde</a></li>
<li><a href="javascript:cronTemplate(5);">Alle 3 Stunden</a></li>
<li><a href="javascript:cronTemplate(6);">Alle 4 Stunden</a></li>
<li><a href="javascript:cronTemplate(7);">Alle 6 Stunden</a></li>
<li><a href="javascript:cronTemplate(8);">Alle 12 Stunden</a></li>
<li><a href="javascript:cronTemplate(9);">Jeden Tag um 0:30 Uhr</a></li>
<li><a href="javascript:cronTemplate(10);">Jeden Sonntag um 0:10 Uhr</a></li>
</ul>
</div>
<div>
<input type="text" id="cron-output" value="* * * * *" onkeyup="importCronExpressionFromInput('#cron-output')" />
</div>
<!-- js -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script src="cron.js"></script>
</body>
</html>