arkhipenko / TaskScheduler

Cooperative multitasking for Arduino, ESPx, STM32, nRF and other microcontrollers
http://playground.arduino.cc/Code/TaskScheduler
BSD 3-Clause "New" or "Revised" License
1.22k stars 224 forks source link

[question] cronjob-like schedule #98

Closed FedeBev closed 4 years ago

FedeBev commented 4 years ago

Hi there,

I was wondering if it was possible to schedule a task like a cronjob.

Example: I want to pull up a pin "at 04:05 on day-of-month 2"; if it were a cronjob, it would be 5 4 2 * *

Thanks!

arkhipenko commented 4 years ago

This has been already discussed previously - so far the answer is no since most microcontrollers do not have independently powered clock.

please see https://github.com/arkhipenko/TaskScheduler/issues/95 for discussion on how to implement it programmatically.

FedeBev commented 4 years ago

Thanks for the very quick reply!

Sorry for the duplication, I didn't see it.