Skip to content

Commit 2ca5217

Browse files
author
Alex Kraker
committed
Update usage comments to reflect filename change
Signed-off-by: Alex Kraker <[email protected]>
1 parent 77a77bb commit 2ca5217

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cronjob_status

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
#
33
# Expose cronjob exit status
44
#
5-
# Usage: <command> ; cronjob "<description>" $?
5+
# Usage: <command> ; cronjob_status "<description>" $?
66
#
77
# Example crontab entry:
8-
# * * * * * echo "Hello world!"; cronjob "greeting" $? | sponge /var/lib/prometheus/node-exporter/cronjob_greeting.prom
8+
# * * * * * echo "Hello world!"; cronjob_status "greeting" $? | sponge /var/lib/prometheus/node-exporter/cronjob_greeting.prom
99
#
1010
# Inspired by: https://janikvonrotz.ch/2020/09/07/monitor-cron-jobs-with-prometheus-grafana-and-node-exporter/
1111
#

0 commit comments

Comments
 (0)