mirror of
https://github.com/nxshock/gron.git
synced 2024-11-27 03:41:00 +05:00
SystemD and cron inspired job scheduler
tests | ||
.gitattributes | ||
.gitignore | ||
config.go | ||
consts.go | ||
font.ttf | ||
go.mod | ||
go.sum | ||
gron.conf | ||
httpserver.go | ||
index.htm | ||
job_test.go | ||
job.go | ||
LICENSE | ||
log.go | ||
main.go | ||
make.bat | ||
README.md | ||
restartrule_test.go | ||
restartrule.go | ||
template.go |
gron
SystemD and cron inspired job scheduler
Usage
- Create
gron.d
directory - Create job config in
jobs.d/job1.conf
(TOML format):Cron = "* * * * *" # cron instructions Command = "echo Hello" # command to execute Description = "print Hello every minute" # job description
- Launch
gron
binary - HTTP interface available on http://127.0.0.1:9876