From ad04562300fc2280a32e51e0c4ffc46ca7792f30 Mon Sep 17 00:00:00 2001 From: Alex Kraker Date: Sat, 25 May 2024 11:10:52 -0500 Subject: [PATCH] Update usage comments to reflect filename change --- cronjob_status | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cronjob_status b/cronjob_status index 4a08404..a52915c 100755 --- a/cronjob_status +++ b/cronjob_status @@ -2,10 +2,10 @@ # # Expose cronjob exit status # -# Usage: ; cronjob "" $? +# Usage: ; cronjob_status "" $? # # Example crontab entry: -# * * * * * echo "Hello world!"; cronjob "greeting" $? | sponge /var/lib/prometheus/node-exporter/cronjob_greeting.prom +# * * * * * echo "Hello world!"; cronjob_status "greeting" $? | sponge /var/lib/prometheus/node-exporter/cronjob_greeting.prom # # Inspired by: https://janikvonrotz.ch/2020/09/07/monitor-cron-jobs-with-prometheus-grafana-and-node-exporter/ #