From e9ea06756a65b8ddd4eefef8bc75d93547792dc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 4 Sep 2017 16:16:18 +0300 Subject: [PATCH] Fix "ranges with steps" example, add note about "man 5 crontab" --- templates/front/docs_cron.html | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/templates/front/docs_cron.html b/templates/front/docs_cron.html index d2992383..c761f398 100644 --- a/templates/front/docs_cron.html +++ b/templates/front/docs_cron.html @@ -14,7 +14,11 @@ to parse and interpret cron expressions. Below is a showcase of supported syntax features.

- +

+ Pro-tip! + On Unix-like operating systems, you can also easily access cron syntax + documentation by typing man 5 crontab in shell. +


@@ -264,13 +268,14 @@

Ranges with a step

-

Use {start}/{step} to define a range with a step.

+

Use {start}-{end}/{step} or */{step} + to define a range with a step.

"Run every quarter of an hour"
- + @@ -311,7 +316,7 @@
0/15
*/15
*
*
*
- Run every 15 minutes, starting from minute 0 + Run every 15 minutes
@@ -324,8 +329,7 @@

In the comma-separated lists you can combine not only - numeric values but also {start}-{end} and {start}/{step} - constructs.

+ numeric values but also ranges.

"Run every round hour outside office hours"