projects
/
pennestraat-domotica
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03baeba
)
crontab: avoid generating output for routine checks
author
Kristof Provost
<kp@FreeBSD.org>
Mon, 19 Feb 2024 22:52:48 +0000
(23:52 +0100)
committer
Kristof Provost
<kp@FreeBSD.org>
Mon, 19 Feb 2024 22:52:48 +0000
(23:52 +0100)
If autossh is still running we shouldn't generate output, because
otherwise we'll end up creating a mail every 5 minutes.
image/overlay/domotica/var/cron/tabs/root
patch
|
blob
|
history
diff --git
a/image/overlay/domotica/var/cron/tabs/root
b/image/overlay/domotica/var/cron/tabs/root
index
7704ef0
..
26df90f
100644
(file)
--- a/
image/overlay/domotica/var/cron/tabs/root
+++ b/
image/overlay/domotica/var/cron/tabs/root
@@
-1,2
+1,2
@@
1 5 * * * /home/kp/bin/ansible_poll
-*/5 * * * * /etc/rc.d/autossh status || /etc/rc.d/autossh start
+*/5 * * * * /etc/rc.d/autossh status
>/dev/null
|| /etc/rc.d/autossh start