make log output more consistent

This commit is contained in:
Frederik Ring
2021-04-03 09:33:11 +02:00
parent 17a3523ded
commit 204a0862c6
3 changed files with 16 additions and 15 deletions

View File

@@ -27,9 +27,9 @@ source env.sh
mc alias set backup-target "https://$AWS_ENDPOINT" "$AWS_ACCESS_KEY_ID" "$AWS_SECRET_ACCESS_KEY"
# Add our cron entry, and direct stdout & stderr to Docker commands stdout
echo "Installing cron.d entry with expression $BACKUP_CRON_EXPRESSION"
echo "Installing cron.d entry with expression $BACKUP_CRON_EXPRESSION."
echo "$BACKUP_CRON_EXPRESSION backup 2>&1" | crontab -
# Let cron take the wheel
echo "Starting cron in foreground"
echo "Starting cron in foreground."
crond -f -l 8