1
0
mirror of https://github.com/nxshock/gron.git synced 2024-11-27 03:41:00 +05:00
SystemD and cron inspired job scheduler
Go to file
2024-04-03 13:47:40 +05:00
_jobExamples Allow to set cmd working directory 2024-03-28 09:33:15 +05:00
tests Add sql execution 2022-05-10 19:44:41 +05:00
webui Fix dropdown display 2023-02-24 22:41:51 +05:00
.gitattributes Initial commit 2022-03-26 13:23:39 +05:00
.gitignore Do not add log files 2022-05-10 21:29:15 +05:00
config.go Default config path = bin path + config name 2022-10-21 19:37:30 +05:00
consts.go Add default timeout for go-ora library 2023-05-21 15:20:25 +05:00
db.go Add MS SQL database logging 2022-05-14 14:17:52 +05:00
go.mod Update deps 2024-03-28 09:48:04 +05:00
go.sum Update deps 2024-03-28 09:48:04 +05:00
gron.conf Compact time format 2022-03-28 19:55:21 +05:00
httpclient.go Show http get/post errors in logs 2022-11-05 14:07:55 +05:00
httpserver.go Prevent parallel websocket writes 2024-04-03 13:47:20 +05:00
job_test.go Add sql execution 2022-05-10 19:44:41 +05:00
job.go Allow to set cmd working directory 2024-03-28 09:33:15 +05:00
jobtype.go Add sql execution 2022-05-10 19:44:41 +05:00
kernel.go Add basic Windows service support 2022-10-23 10:23:35 +05:00
LICENSE Initial commit 2022-03-26 13:23:39 +05:00
log.go Add LogWriter 2022-05-14 14:17:30 +05:00
main.go Show http get/post errors in logs 2022-11-05 14:07:55 +05:00
make.bat Show console output 2024-04-03 13:47:40 +05:00
README.md Update info about config directory 2022-11-20 14:59:39 +05:00
restartrule_test.go Add on error restart job options 2022-03-29 21:38:04 +05:00
restartrule.go Add on error restart job options 2022-03-29 21:38:04 +05:00
status.go New updates 2022-03-30 21:06:55 +05:00
strutils.go Add JS for online data update 2022-11-20 14:44:03 +05:00
template.go New updates 2022-03-30 21:06:55 +05:00
wconn.go Prevent parallel websocket writes 2024-04-03 13:47:20 +05:00

gron

SystemD and cron inspired job scheduler

Usage

  1. Create gron.d directory (JobConfigsPath variable from gron.conf variable).

  2. Create job config in gron.d/job1.conf (TOML format). See examples in _jobExamples.

  3. Launch gron binary.

  4. HTTP interface available on http://127.0.0.1:9876.