1
0
mirror of https://github.com/xzeldon/vwdump.git synced 2025-06-28 06:58:15 +03:00

Changed time format

This commit is contained in:
10 2018-11-18 02:14:19 +01:00
parent b82c063c06
commit e551725d7a
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
/usr/bin/sqlite3 $DB_FILE ".backup $BACKUP_FILE"
if [ $? -eq 0 ]
then
echo "$(date) - Backup successfull"
echo "$(date "+%F %T") - Backup successfull"
else
echo "$(date) - Backup unsuccessfull"
echo "$(date "+%F %T") - Backup unsuccessfull"
fi

View File

@ -24,5 +24,5 @@ then
/usr/sbin/crond -L /var/log/cron.log
fi
echo "$(date) - Container started" > "$LOGFILE"
echo "$(date "+%F %T") - Container started" > "$LOGFILE"
tail -F "$LOGFILE"