Working with cron events

Time scheduler for periodically completing tasks at a specific time.
Generates an event at the specified time in the Cron format. The full description can be found here https://ru.wikipedia.org/wiki/Cron

Please note that this firmware uses additional seconds field, which makes a change to the logic of filling in fields.

The crontab table consists of 6 columns separated by spaces.
Six columns define the execution time (second, minute, hour, day, month, day of the week). They can contain a number, a list of numbers separated by commas, a range of numbers separated by hyphens, and the characters * or/. The most common error is when you leave * in the seconds field, while out in the given minute will be triggered every second.

Learn more about events by time read here.

* * * * * *
- - - - - -
| | | | | |
| | | | | --- день недели (0—6) (воскресенье = 0 или  "SUN", "MON", "TUE", "WED", "THU", "FRI", "SAT" )
| | | | ----- месяц (1—12 или "JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC" )
| | | ------- день месяца (1—31)
| | --------- час (0—23)
| ----------- минута (0—59)
------------- секунды (0—59)

For more information, please visit crontab.guru. But keep in mind that there is no first seconds field.

Leave a Comment

Supported the project — saved a DIY maker! And we accept gifts...

X