mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-10-23 04:51:58 +00:00
Fix /etc/cron.d/autobackup.
The previous code wrote MAILTO=\n30 3 * * * cd /;/entrypoint.sh app:backup (with a literal backslash n). Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
@@ -283,7 +283,7 @@ autoBackupConfiguration() {
|
||||
echo "Auto backup is disabled. Continuing."
|
||||
return 0
|
||||
fi
|
||||
echo "MAILTO=""\n$AUTO_BACKUP_INTERVAL cd /;/entrypoint.sh app:backup" > /etc/cron.d/autobackup
|
||||
printf 'MAILTO=""\n%s cd /;/entrypoint.sh app:backup' "$AUTO_BACKUP_INTERVAL" > /etc/cron.d/autobackup
|
||||
echo "Auto backup enabled."
|
||||
}
|
||||
initialConfiguration() {
|
||||
|
Reference in New Issue
Block a user