Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mongoose-os-libs/crontab
https://github.com/mongoose-os-libs/crontab
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mongoose-os-libs/crontab
- Owner: mongoose-os-libs
- License: other
- Created: 2017-10-24T11:44:19.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-06-07T19:42:17.000Z (over 2 years ago)
- Last Synced: 2024-07-31T21:52:03.967Z (6 months ago)
- Language: C
- Size: 219 KB
- Stars: 2
- Watchers: 6
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mongoose-os - crontab
README
# Crontab
Crontab wraps [cron core](https://github.com/mongoose-os-libs/cron) and
maintains a persisted set of cron jobs. Crontab file is simply a JSON file
(actually managed by [jstore](https://github.com/mongoose-os-libs/jstore))
which looks like this:```javascript
{"items":[
["1", {
"at": "0 0 7 * * MON-FRI",
"enable": true,
"action": "foo",
"payload": {"a": 1, "b": 2}
}],
["2", {
"at": "0 */2 1-4 * * *",
"enable": true,
"action": "bar"
}]
]}
```For the cron expression syntax, see [cron
core](https://github.com/mongoose-os-libs/cron) docs.