added custome cron scripts

This commit is contained in:
juul committed 2025-05-22 17:28:27 +02:00
1 parent 00e713e48f
commit 73f4fb3078
3 files changed
+46

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
LOG_FILE="/var/log/backup_docker.log"
exec >> "$LOG_FILE" 2>&1
echo "script started at: $(date)"
sudo rsync -aq --delete --chown juulk:juulk /home/juulk/docker/ /mnt/pandorica/docker
echo "script ended at: $(date)"
echo "-------------------------------------------------------------------------------"