1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-07-19 15:26:37 +03:00

Fix execution scheduling (#7)

**Dockerfile**
- Fix `CRON_TIME`.

**backup.sh**
- Remove `TIMESTAMP` variable.
- Change how `date` is displayed when `echo`ing.
This commit is contained in:
jmqm
2021-05-26 00:57:04 -05:00
committed by GitHub
parent 6974723efe
commit 734956821c
3 changed files with 5 additions and 8 deletions

View File

@ -29,5 +29,5 @@ if [ "$(id -u)" -eq 0 ]; then
exec su-exec app:app "$0" "$@"
fi
echo "$(date "+%F %T") - Container started" > "$LOGFILE"
echo "[INFO] Container started at $(date +"%F %r")" > "$LOGFILE"
tail -F "$LOGFILE" /app/log/cron.log