mirror of
https://github.com/wgh136/nysoure.git
synced 2025-12-15 23:41:16 +00:00
fix: update crontab entry to use bash for backup script execution
This commit is contained in:
@@ -35,7 +35,7 @@ log "Running initial backup..."
|
|||||||
/usr/local/bin/backup.sh
|
/usr/local/bin/backup.sh
|
||||||
|
|
||||||
# Create crontab
|
# Create crontab
|
||||||
echo "${BACKUP_SCHEDULE} /usr/local/bin/backup.sh >> /var/log/backup.log 2>&1" > /tmp/crontab
|
echo "${BACKUP_SCHEDULE} /bin/bash /usr/local/bin/backup.sh >> /var/log/backup.log 2>&1" > /tmp/crontab
|
||||||
|
|
||||||
log "Starting scheduled backups with supercronic..."
|
log "Starting scheduled backups with supercronic..."
|
||||||
log "Logs will be written to /var/log/backup.log"
|
log "Logs will be written to /var/log/backup.log"
|
||||||
|
|||||||
Reference in New Issue
Block a user