docker sculated time

This commit is contained in:
Parsa Nazer
2025-02-24 23:35:42 +03:30
parent 464cb1f550
commit 6c68d3f4b8
4 changed files with 22 additions and 5 deletions
+6 -1
View File
@@ -1 +1,6 @@
* * * * * /app/backup.sh
# Add this line for environment variables
SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
# Schedule (runs every minute for testing)
* * * * * /app/backup.sh >> /var/log/cron/cron.log 2>&1