mirror of
https://github.com/msfjarvis/healthchecks-rs.git
synced 2024-06-03 04:18:58 +05:30
510 B
510 B
monitor
Simple binary that's designed to execute arbitrary tasks and notify a provided healthchecks.io check about their status.
Usage
Execute an arbitrary task
HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -X sleep 10
Start off a timer server-side
HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -tX sleep 10
Use a custom user agent
HEALTHCHECKS_USERAGENT=crontab HEALTHCHECKS_CHECK_ID=<check_id> healthchecks-monitor -tX sleep 10