Go porting of cronlog. This is my first go project :P
$ cronlog cmd args...
Put /etc/cronlog.toml
[[Commands]]
Path = "/path/to/comannd"
SuccessCode = 10
If this configuration exists, when /path/to/comannd args...
exits with code 10
, the process will be recognized as success.
Put /etc/cronlog.toml
[Slack]
Url = "https://hooks.slack.com/services/xxxxxx/yyyyyy/zzzzzz"
#Channel = "#yourchannel"
#Username = "cronlog"
- @mallowlabs