mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
document that cron behaves like days_of_week, not like crontab (#2555)
This commit is contained in:
parent
7ccd3ddfe9
commit
a3bc4197fa
@ -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 <automation>`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user