diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2016-09-04 09:37:27 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2016-09-04 09:37:27 +0000 |
commit | 5bd2cc88ba0abac1607d6d77ffb8daebdf9fa177 (patch) | |
tree | 140c66d3eb3756a28762659859120a2a52c919d9 | |
parent | df14055aa8d512af2e9d382dda01bb9f8a3a675e (diff) |
bump the random timeout to taking % 2048 sec to avoid modulus bias
ok phessler
-rw-r--r-- | etc/crontab | 4 |
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 |