1
0
mirror of https://github.com/nxshock/gron.git synced 2024-11-27 03:41:00 +05:00
gron/README.md

16 lines
477 B
Markdown
Raw Normal View History

# gron
2022-03-26 13:23:39 +05:00
2022-03-29 21:38:04 +05:00
*SystemD and cron inspired job scheduler*
2022-03-26 13:23:39 +05:00
## Usage
2022-03-27 21:20:17 +05:00
1. Create `gron.d` directory
2022-03-26 13:23:39 +05:00
2. Create job config in `jobs.d/job1.conf` ([TOML](https://en.wikipedia.org/wiki/TOML) format):
```toml
2022-03-26 13:25:47 +05:00
Cron = "* * * * *" # cron instructions
Command = "echo Hello" # command to execute
2022-03-26 13:23:39 +05:00
Description = "print Hello every minute" # job description
```
2022-03-27 12:43:57 +05:00
3. Launch `gron` binary
2022-03-26 13:25:47 +05:00
4. HTTP interface available on http://127.0.0.1:9876