summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortb <tb@openbsd.org>2016-09-04 09:37:26 +0000
committertb <tb@openbsd.org>2016-09-04 09:37:26 +0000
commitb2644085bcd7217d370110bb693aaed196bfeb70 (patch)
treed6c5c17a459ec6ba1dee6d5b024f6a2dec60909e
parentSwitch ping to getaddrinfo while retaining inet_aton functionality as (diff)
downloadwireguard-openbsd-b2644085bcd7217d370110bb693aaed196bfeb70.tar.xz
wireguard-openbsd-b2644085bcd7217d370110bb693aaed196bfeb70.zip
bump the random timeout to taking % 2048 sec to avoid modulus bias
ok phessler
-rw-r--r--etc/crontab4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/crontab b/etc/crontab
index 1f909713b88..1b090ab3e26 100644
--- a/etc/crontab
+++ b/etc/crontab
@@ -1,4 +1,4 @@
-# $OpenBSD: crontab,v 1.21 2014/09/15 22:28:58 matthieu Exp $
+# $OpenBSD: crontab,v 1.22 2016/09/04 09:37:26 tb Exp $
#
# /var/cron/tabs/root - root's crontab
#
@@ -17,4 +17,4 @@ HOME=/var/log
30 1 * * * /bin/sh /etc/daily
30 3 * * 6 /bin/sh /etc/weekly
30 5 1 * * /bin/sh /etc/monthly
-#0 * * * * sleep $((RANDOM \% 1800)) && /usr/libexec/spamd-setup
+#0 * * * * sleep $((RANDOM \% 2048)) && /usr/libexec/spamd-setup