From 21e78d5965bf6b3600b275cb206f6dadc2624161 Mon Sep 17 00:00:00 2001 From: caelebfi Date: Thu, 28 Oct 2021 06:25:04 +0200 Subject: [PATCH] daily autocommit --- cmk-update-agent.state | 2 +- crontab | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/cmk-update-agent.state b/cmk-update-agent.state index ef524306..93c63ec1 100644 --- a/cmk-update-agent.state +++ b/cmk-update-agent.state @@ -1 +1 @@ -{'protocol': 'http', 'installed_aghash': 'fc6545d6e125c4c9', 'last_error': None, 'site': 'realm', 'last_check': 1635341431.656154, 'host_name': 'serviceraspi.realm.local', 'server': '192.168.0.99', 'last_update': 1634028399.218944, 'host_secret': 'pntxhkgisefetedlluhmbneceelnviymvmrfcsaezocoirlcjurakqmfhjuunxlv', 'user': 'caelebfi'} +{'protocol': 'http', 'installed_aghash': 'fc6545d6e125c4c9', 'last_error': None, 'site': 'realm', 'last_check': 1635392272.3842397, 'host_name': 'serviceraspi.realm.local', 'server': '192.168.0.99', 'last_update': 1634028399.218944, 'host_secret': 'pntxhkgisefetedlluhmbneceelnviymvmrfcsaezocoirlcjurakqmfhjuunxlv', 'user': 'caelebfi'} diff --git a/crontab b/crontab index ee82cb5d..822f3359 100644 --- a/crontab +++ b/crontab @@ -22,4 +22,7 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # # etcbackup starts at 5:05 -5 5 * * * root /usr/local/bin/etcbackup.sh > /dev/null 2>&1 +#5 5 * * * root /usr/local/bin/etcbackup.sh > /dev/null 2>&1 + +0 1 * * * root /usr/local/bin/restic -r /backup/restic-repositories/serviceraspi backup /home/git --password-file /root/.resticpw +20 1 * * * root /usr/local/bin/restic -r /backup/restic-repositories/serviceraspi forget --keep-daily 7 --keep-weekly 2 --prune --password-file /root/.resticpw