1
0
mirror of https://github.com/nxshock/gron.git synced 2025-01-18 11:31:11 +05:00
nxshock 1c00dfabc9 New updates
* Rework job status
* Group WebUI files
* New WebUI details page
2022-03-30 21:06:55 +05:00
2022-03-29 21:38:04 +05:00
2022-03-30 21:06:55 +05:00
2022-03-26 13:23:39 +05:00
2022-03-26 13:23:39 +05:00
2022-03-28 19:55:21 +05:00
2022-03-28 18:24:23 +05:00
2022-03-27 12:43:57 +05:00
2022-03-27 19:20:41 +05:00
2022-03-28 19:55:21 +05:00
2022-03-30 21:06:55 +05:00
2022-03-29 21:38:04 +05:00
2022-03-30 21:06:55 +05:00
2022-03-26 13:23:39 +05:00
2022-03-27 12:39:24 +05:00
2022-03-29 21:38:04 +05:00
2022-03-27 12:39:24 +05:00
2022-03-30 18:26:52 +05:00
2022-03-30 21:06:55 +05:00
2022-03-30 21:06:55 +05:00

gron

SystemD and cron inspired job scheduler

Usage

  1. Create gron.d directory
  2. Create job config in gron.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
    
  3. Launch gron binary
  4. HTTP interface available on http://127.0.0.1:9876
Description
SystemD and cron inspired job scheduler
Readme MIT 262 KiB
Languages
Go 68.2%
HTML 22%
CSS 9.6%
Batchfile 0.2%