From a3bc4197fa576ba10a45940c0b8f11a163c3d6b9 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Sun, 18 Dec 2022 21:51:45 +0100 Subject: [PATCH] document that cron behaves like days_of_week, not like crontab (#2555) --- components/time.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/time.rst b/components/time.rst index 2b4dee208..7a4ecad44 100644 --- a/components/time.rst +++ b/components/time.rst @@ -106,7 +106,7 @@ Configuration variables: Defaults to ``*`` (all days). The names SUN to SAT are automatically substituted. Range is from 1 (Sunday) to 7 (Saturday). - **cron** (*Optional*, string): Alternatively, you can specify a whole cron expression like - ``* /5 * * * *``. Please note years and some special characters like ``L``, ``#`` are currently not supported. + ``* /5 * * * *``. Please note that years and some special characters like ``L``, ``#`` are currently not supported. Also, the day of week field is interpreted like the **days_of_week** variable (range from 1 (Sunday) to 7 (Saturday)) and not like other cron implementations would do it (range from 0 (Sunday) to 7 (Sunday)). - See :ref:`Automation `.