From 31353fe24c1a402c84087a06b8660695e417b37f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 7 Aug 2017 20:43:02 +0300 Subject: [PATCH] Remove the nonstandard "nth weekday of month" cron example --- static/css/my_checks.css | 5 +++ templates/front/docs_cron.html | 66 +--------------------------------- templates/front/my_checks.html | 4 +++ 3 files changed, 10 insertions(+), 65 deletions(-) diff --git a/static/css/my_checks.css b/static/css/my_checks.css index 95e79098..7454d1da 100644 --- a/static/css/my_checks.css +++ b/static/css/my_checks.css @@ -40,6 +40,11 @@ font-weight: normal; } +#schedule-hint { + margin-left: 8px; + font-size: small; +} + #tz { width: 300px; } diff --git a/templates/front/docs_cron.html b/templates/front/docs_cron.html index 25f99957..d2992383 100644 --- a/templates/front/docs_cron.html +++ b/templates/front/docs_cron.html @@ -54,7 +54,7 @@
- Day of week, 0 - 7, 1=Monday + Day of week, 0 - 7, 0 or 7 is Sun @@ -441,70 +441,6 @@ -
-
-

First, second, ... weekday

-
-
-

- Use {day-of-week}#{n} to define constructs - such as "first Saturday of the month". n is a - number from 1 to 5. -

- -
"Run at 2PM on the first Saturday -
of every month"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0
14
*
*
6#1
-
-
-
-
-
-
-
-
-
-
Run on the first saturday of the month
- Run every month -
- Run on any day of the month -
- Run at 2PM -
- Run at the start of the hour -
-
-
-

Timezones

diff --git a/templates/front/my_checks.html b/templates/front/my_checks.html index 9b8b5232..fe698e3a 100644 --- a/templates/front/my_checks.html +++ b/templates/front/my_checks.html @@ -195,6 +195,10 @@ id="schedule" name="schedule" placeholder="* * * * *"> +
+ m h dom mon dow + (cheatsheet) +