We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77a77bb commit 2ca5217Copy full SHA for 2ca5217
cronjob_status
@@ -2,10 +2,10 @@
2
#
3
# Expose cronjob exit status
4
5
-# Usage: <command> ; cronjob "<description>" $?
+# Usage: <command> ; cronjob_status "<description>" $?
6
7
# Example crontab entry:
8
-# * * * * * 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
9
10
# Inspired by: https://janikvonrotz.ch/2020/09/07/monitor-cron-jobs-with-prometheus-grafana-and-node-exporter/
11
0 commit comments