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:
@ -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
|
||||
|
Reference in New Issue
Block a user