Skip to content

Commit

Permalink
Update usage comments to reflect filename change
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Kraker <[email protected]>
  • Loading branch information
Alex Kraker committed May 25, 2024
1 parent 77a77bb commit 2ca5217
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cronjob_status
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
#
# Expose cronjob exit status
#
# Usage: <command> ; cronjob "<description>" $?
# Usage: <command> ; cronjob_status "<description>" $?
#
# 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/
#
Expand Down

0 comments on commit 2ca5217

Please sign in to comment.