Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vortigont/cronos
CronoS - task scheduler for ESP32 based on RTOS with CRON syntax sugar
https://github.com/vortigont/cronos
Last synced: 1 day ago
JSON representation
CronoS - task scheduler for ESP32 based on RTOS with CRON syntax sugar
- Host: GitHub
- URL: https://github.com/vortigont/cronos
- Owner: vortigont
- License: apache-2.0
- Created: 2024-07-30T02:04:59.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T15:04:37.000Z (3 months ago)
- Last Synced: 2024-10-11T13:36:19.973Z (25 days ago)
- Language: C
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CronoS
__[EXAMPLES](/examples/) | [CHANGELOG](CHANGELOG.md) |__ [![PlatformIO CI](https://github.com/vortigont/CronoS/actions/workflows/pio_build.yml/badge.svg)](https://github.com/vortigont/CronoS/actions/workflows/pio_build.yml) | [![PlatformIO Registry](https://badges.registry.platformio.org/packages/vortigont/library/CronoS.svg)](https://registry.platformio.org/libraries/vortigont/CronoS)
**CronoS** - is a `Cron` `o`n RTO`S`
A tiny wrapper lib that provides classes to run scheduled tasks/callbacks with a help of a RTOS timers and rules defined via [CRONtab](https://en.wikipedia.org/wiki/Cron) expression syntax.
Cron is most suitable for scheduling repetitive tasks tied to a calendar time/date of the day.### Origin
`CronoS` relies on a excellent [supertinycron](https://github.com/exander77/supertinycron) lib that does all `crontab` syntax parsing.### Compatibility
Tested only on ESP32's implementation of RTOS. Might work on other platforms too, but not tested yet.> [!NOTE]
> By default this lib disables years processing in crotab rules to save memory### Usage
Find and example code under [EXAMPLES](/examples/) folder.
Pls, check [supertinycron](https://github.com/exander77/supertinycron)'s page for `crontab` syntax implementation and details#### Licence
This lib inherits [supertinycron](https://github.com/exander77/supertinycron)'s Apache License, Version 2.0