forked from GithubBackups/healthchecks
Remove the nonstandard "nth weekday of month" cron example
This commit is contained in:
parent
d6917065d4
commit
31353fe24c
@ -40,6 +40,11 @@
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#schedule-hint {
|
||||||
|
margin-left: 8px;
|
||||||
|
font-size: small;
|
||||||
|
}
|
||||||
|
|
||||||
#tz {
|
#tz {
|
||||||
width: 300px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
@ -54,7 +54,7 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="guide"></div>
|
<div class="guide"></div>
|
||||||
</td>
|
</td>
|
||||||
<td>Day of week, 0 - 7, 1=Monday</td>
|
<td>Day of week, 0 - 7, 0 or 7 is Sun</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
@ -441,70 +441,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="panel panel-default">
|
|
||||||
<div class="panel-heading">
|
|
||||||
<h3 class="panel-title">First, second, ... weekday</h3>
|
|
||||||
</div>
|
|
||||||
<div class="panel-body">
|
|
||||||
<p>
|
|
||||||
Use <code>{day-of-week}#{n}</code> to define constructs
|
|
||||||
such as "first Saturday of the month". <code>n</code> is a
|
|
||||||
number from 1 to 5.
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<div class="desc">"Run at 2PM on the first Saturday
|
|
||||||
<br />of every month"</div>
|
|
||||||
|
|
||||||
<table class="cron-example">
|
|
||||||
<tr>
|
|
||||||
<th><div>0 <span></span></div></th>
|
|
||||||
<th><div>14</div></th>
|
|
||||||
<th><div>*</div></th>
|
|
||||||
<th><div>*</div></th>
|
|
||||||
<th><div>6#1</div></th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td rowspan="5">
|
|
||||||
<div class="guide"></div>
|
|
||||||
</td>
|
|
||||||
<td rowspan="4">
|
|
||||||
<div class="guide"></div>
|
|
||||||
</td>
|
|
||||||
<td rowspan="3">
|
|
||||||
<div class="guide"></div>
|
|
||||||
</td>
|
|
||||||
<td rowspan="2">
|
|
||||||
<div class="guide"></div>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<div class="guide"></div>
|
|
||||||
</td>
|
|
||||||
<td>Run on the first saturday of the month</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="2" class="minor">
|
|
||||||
Run every month
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="3" class="minor">
|
|
||||||
Run on any day of the month
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="4">
|
|
||||||
Run at 2PM
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td colspan="5">
|
|
||||||
Run at the start of the hour
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading">
|
<div class="panel-heading">
|
||||||
<h3 class="panel-title">Timezones</h3>
|
<h3 class="panel-title">Timezones</h3>
|
||||||
|
@ -195,6 +195,10 @@
|
|||||||
id="schedule"
|
id="schedule"
|
||||||
name="schedule"
|
name="schedule"
|
||||||
placeholder="* * * * *">
|
placeholder="* * * * *">
|
||||||
|
<div id="schedule-hint">
|
||||||
|
m h dom mon dow
|
||||||
|
<a href="{% url 'hc-docs-cron' %}">(cheatsheet)</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-4">
|
<div class="col-md-4">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user