Skip to content

Commit 36c43c6

Browse files
author
Alex Kraker
committed
Add Usage comments
Signed-off-by: Alex Kraker <[email protected]>
1 parent ddddd42 commit 36c43c6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: cronjob

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
#
33
# Expose cronjob exit status
44
#
5+
# Usage: <command> ; cronjob "<description>" $?
6+
#
57
# Example crontab entry:
68
# * * * * * echo "Hello world!"; cronjob "greeting" $? | sponge /var/lib/prometheus/node-exporter/cronjob_greeting.prom
79
#

0 commit comments

Comments
 (0)