this allows you to check if your corontab jobs actually run and if they are successful. Clients have to report the result of the job to the server. If they failed to report in time or report a non-zero exit code an alarm is triggered.
- install rust, cargo and trunk
- On the server:
-
- cd into the "frontend" directory
-
- run
trunk build --release
- run
-
- cd into the "../server" directory
-
- copy "config.toml.example" to "config.toml"
-
- edit "config.toml". To create new jobs copy the first line below the job section and edit it's name (id) and optionally provide a webhook that is to be called, when the job failed. Note that the contab times currently don't support ranges. Crontab times are checked against utc
-
- run
cargo run --release
- run
- On the client
-
- cd into the client directory
-
- run
cargo install --path .
- run
-
- then edit your crontab config
-
- prefix the jobs (after the crontab time) you added to your config.toml in the server section with
crontab_status_client --id your-job-id --password your-password --address http://server.address:port --
- prefix the jobs (after the crontab time) you added to your config.toml in the server section with
- Now you should be good to go. Visit the port the server opened and you should see the gui.