mirror of
https://github.com/nxshock/gron.git
synced 2025-01-18 11:31:11 +05:00
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 NumberOfRestartAttemts = 3 # number of restart attemts RestartSec = 5 # the time to sleep before restarting a job (seconds) RestartRule = "on-error" # Configures whether the job shall be restarted when the job process exits
- Launch
gron
binary - HTTP interface available on http://127.0.0.1:9876
Languages
Go
68.2%
HTML
22%
CSS
9.6%
Batchfile
0.2%