Skip to content

Commit

Permalink
fix: Show log at console
Browse files Browse the repository at this point in the history
  • Loading branch information
vinanrra committed Jun 30, 2024
1 parent 36746c2 commit 38369a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/crontab/backup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
echo "0 $BACKUP_HOUR * * * /home/sdtdserver/scripts/server_backup.sh > /dev/null 2>&1" >> crontab.txt
echo "0 $BACKUP_HOUR * * * /home/sdtdserver/scripts/server_backup.sh >> /home/sdtdserver/log/sdtdserver-console.log 2>&1" >> crontab.txt

echo "[INFO] Activated automatic backup at 5AM"
echo "[INFO] Activated automatic backup at $BACKUP_HOUR"

0 comments on commit 38369a3

Please sign in to comment.