ユーザ用ツール

サイト用ツール


p:computer:scripts:healthchecks_cron_script
#!/bin/bash
 
ENDPOINT="https://your.healthchecks.endpoint.invalid"
CHECK_UUID="your-check-uuid"
 
curl -fsS -m 10 --retry 5 -o /dev/null "$ENDPOINT/$CHECK_UUID/start"
 
log=$(/your/command/goes/here.sh 2>&1)
 
curl -fsS -m 10 --retry 5 -o /dev/null --data-raw "$log" "$ENDPOINT/$CHECK_UUID/$?"
p/computer/scripts/healthchecks_cron_script.txt · 最終更新: by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki