Simple periodic job scheduler with notifications
Find a file
Alex Vanin fe1b47a3be Remove module structure from nezabx
Nexabx is an application and not Go library,
so there is no need to use module structure
in module name.
2023-03-04 21:28:23 +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 Remove module structure from nezabx 2023-03-04 21:28:23 +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 Run config validator before start 2022-06-13 14:52:54 +03:00
config_test.go Run config validator before start 2022-06-13 14:52:54 +03:00
example.yaml Initial commit 2022-05-28 23:03:26 +03:00
go.mod Remove module structure from nezabx 2023-03-04 21:28:23 +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 Remove module structure from nezabx 2023-03-04 21:28:23 +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 Run config validator before start 2022-06-13 14:52:54 +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.