From b063c679ea1bf4f0a31d8271ceafbe18cb15eaa9 Mon Sep 17 00:00:00 2001 From: Oleg Sheynin Date: Mon, 14 Oct 2024 19:12:55 +0000 Subject: [PATCH] Mon Oct 14 19:12:55 UTC 2024 --- oleg/homestore.cron | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 oleg/homestore.cron diff --git a/oleg/homestore.cron b/oleg/homestore.cron new file mode 100644 index 0000000..c3877f1 --- /dev/null +++ b/oleg/homestore.cron @@ -0,0 +1,13 @@ +# +20 2 * * * /usr/bin/python3 /opt/admin/backup.py /opt/admin/homestore_backup.json 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /opt/logs/$(date +\%Y\%m\%d_\%H\%M\%S).homestore_backup.log 2>&1 +#20 3 * * * /usr/bin/python3 /opt/admin/backup.py /opt/admin/homestore_backup-nas.json 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /opt/logs/$(date +\%Y\%m\%d_\%H\%M\%S).homestore_backup-nas.log 2>&1 +# ---------- docker registry sync +0 * * * * /home/oleg/prod/run/sync_docker_registry.sh 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /opt/logs/$(date +\%Y\%m\%d).docker_reg_sync.log +# +#------------------------------- U t i l s +# +15 0 * * * /opt/admin/archiveLogs.sh /opt/logs /opt/archive/logs 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /opt/logs/$(date +\%Y\%m\%d_\%H\%M\%S).archive_logs.log +# +# Test --------------------------------- Remove +# +# Test --------------------------------- Remove