Skip to content

Proxtx/crontab_status

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crontab_Status

crontab_status

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.

setup

  1. install rust, cargo and trunk
  2. On the server:
    1. cd into the "frontend" directory
    1. run trunk build --release
    1. cd into the "../server" directory
    1. copy "config.toml.example" to "config.toml"
    1. 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
    1. run cargo run --release
  1. On the client
    1. cd into the client directory
    1. run cargo install --path .
    1. then edit your crontab config
    1. 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 --
  1. Now you should be good to go. Visit the port the server opened and you should see the gui.

Screenshot

About

Monitor your contab jobs. Get notified on failures

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published