change few cronjobs to not run them all at the same time

This commit is contained in:
creme 2020-02-05 00:30:22 +01:00
parent f2f71893ef
commit 4bbbffedd4
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
5 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
SHELL=/bin/sh
PATH=/usr/bin:/opt/services
0 0 * * 0 services python /opt/services/botany/clear_weekly_users.py >/dev/null 2>&1
3 0 * * 0 services python /opt/services/botany/clear_weekly_users.py >/dev/null 2>&1

View File

@ -14,4 +14,4 @@
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew --deploy-hook /etc/letsencrypt/renewal-hooks/deploy/envs.sh --renew-hook "systemctl reload nginx"
1 */12 * * * root test -x /usr/bin/certbot -a \! -d /run/systemd/system && perl -e 'sleep int(rand(43200))' && certbot -q renew --deploy-hook /etc/letsencrypt/renewal-hooks/deploy/envs.sh --renew-hook "systemctl reload nginx"

View File

@ -1,7 +1,7 @@
#
# generate sysinfo.json and sysinfo.php every day
# generate sysinfo.json and sysinfo.php once per day
#
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 0 * * * root /usr/local/bin/envs.net/envs_sysinfo.sh >/dev/null 2>&1
1 0 * * * root /usr/local/bin/envs.net/envs_sysinfo.sh >/dev/null 2>&1

View File

@ -4,4 +4,4 @@
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
0 0 * * * root make -C /var/tilde/admins/ DEST_DIR=/var/ DEST_OWNER=root DEST_GROUP=www-data >/dev/null 2>&1
5 0 * * * root make -C /var/tilde/admins/ DEST_DIR=/var/ DEST_OWNER=root DEST_GROUP=www-data >/dev/null 2>&1

View File

@ -3,4 +3,4 @@ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
0-59/30 * * * * root /usr/local/sbin/ipset-fail2ban.sh /etc/ipset-fail2ban/ipset-fail2ban.conf >/dev/null 2>/dev/null&
# clear list once per week
0 0 * * 0 root /usr/local/sbin/ipset-fail2ban.sh /etc/ipset-fail2ban/ipset-fail2ban.conf -c >/dev/null 2>&1
2 0 * * 0 root /usr/local/sbin/ipset-fail2ban.sh /etc/ipset-fail2ban/ipset-fail2ban.conf -c >/dev/null 2>&1