Simple periodic job scheduler with notifications
Find a file
2022-06-13 14:51:17 +03:00
.github/workflows Activate GitHub Actions 2022-06-13 14:51:17 +03:00
db Initial commit 2022-05-28 23:03:26 +03:00
notifications/email Initial commit 2022-05-28 23:03:26 +03:00
runners Initial commit 2022-05-28 23:03:26 +03:00
.gitignore Initial commit 2022-05-28 23:03:26 +03:00
.golangci.yml Activate GitHub Actions 2022-06-13 14:51:17 +03:00
config.go Initial commit 2022-05-28 23:03:26 +03:00
example.yaml Initial commit 2022-05-28 23:03:26 +03:00
go.mod Initial commit 2022-05-28 23:03:26 +03:00
go.sum Initial commit 2022-05-28 23:03:26 +03:00
LICENSE Initial commit 2022-05-28 23:03:26 +03:00
main.go Initial commit 2022-05-28 23:03:26 +03:00
Makefile Initial commit 2022-05-28 23:03:26 +03:00
README.md Initial commit 2022-05-28 23:03:26 +03:00
TODO.md Initial commit 2022-05-28 23:03:26 +03:00

Nezabx

Overview

Nezabx (njɛ-za-bɪks) - simple periodic job scheduler with notifications.

Supported notification channels:

  • email

Supported jobs:

  • arbitrary shell commands

Build

$ make
go build -ldflags "-X main.Version=v0.1.0" -o ./bin/nezabx

Config

See configuration example with comments in example.yaml

Run

$ ./bin/nezabx -c config.yaml 
2022-05-28T22:47:10.979+0300    info    application started
2022-05-28T22:48:00.049+0300    info    script run ok   {"cmd": "./healthcheck.sh arg", "next iteration at": "2022-05-28T22:49:00.000+0300"}
^C2022-05-28T22:48:05.354+0300  info    application received termination signal

License

Source code is available under the MIT License.