Thu Jan 16 00:43:13 UTC 2025

This commit is contained in:
Oleg Sheynin 2025-01-16 00:43:13 +00:00
parent 765e1725a6
commit 2568afc7b0
2 changed files with 19 additions and 0 deletions

12
cvtt/hs01.cron Normal file
View File

@ -0,0 +1,12 @@
#
# ---------- archiving md_archive
0 1 * * * /works/admin/storage_backup.sh /works/admin/cvtt_md_archive.json | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date '+\%Y\%m\%d').cvtt_md_archive.log
0 2 * * * /works/admin/storage_backup.sh /works/admin/cvtt_md_archive_2.json | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date '+\%Y\%m\%d').cvtt_md_archive_2.log
#------------------------------- U t i l s
#
15 0 * * * /works/admin/archiveLogs.sh /works/logs /works/archive/logs 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date +\%Y\%m\%d_\%H\%M\%S).archive_logs.log
#
# Test --------------------------------- Remove
#
# Test --------------------------------- Remove

View File

@ -1,5 +1,11 @@
# #
# ---------- backup - SEE root`s CRONTAB # ---------- backup - SEE root`s CRONTAB
#
#
# ---------- archiving md_archive
0 1 * * * /works/admin/storage_backup.sh /works/admin/cvtt_md_archive.json | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date '+\%Y\%m\%d').cvtt_md_archive.log
0 2 * * * /works/admin/storage_backup.sh /works/admin/cvtt_md_archive_2.json | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date '+\%Y\%m\%d').cvtt_md_archive_2.log
# ---------- docker registry sync # ---------- docker registry sync
0 * * * * /works/docker/registry/sync_docker_registry.sh 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date +\%Y\%m\%d).docker_registry_sync.log 0 * * * * /works/docker/registry/sync_docker_registry.sh 2>&1 | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date +\%Y\%m\%d).docker_registry_sync.log
#------------------------------- U t i l s #------------------------------- U t i l s
@ -8,4 +14,5 @@
# #
# Test --------------------------------- Remove # Test --------------------------------- Remove
# #
43 * * * * /works/admin/storage_backup.sh /works/admin/cvtt_md_archive.json | /usr/bin/ts '[\%Y-\%m-\%d \%H:\%M:\%S]' >> /works/logs/$(date '+\%Y\%m\%d').cvtt_md_archive.log
# Test --------------------------------- Remove # Test --------------------------------- Remove