added custome cron scripts

This commit is contained in:
juul
2025-05-22 17:28:27 +02:00
parent 00e713e48f
commit 73f4fb3078
3 changed files with 46 additions and 0 deletions
+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 "-------------------------------------------------------------------------------"