mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
7 lines
279 B
Batchfile
7 lines
279 B
Batchfile
rem This script runs the Rails server and logs the screen output.
|
|
|
|
REM get DateTime var in a "YYYYMMDD-HHmmSS" format
|
|
FOR /f %%a IN ('WMIC OS GET LocalDateTime ^| FIND "."') DO SET DTS=%%a
|
|
SET DateTime=%DTS:~0,8%-%DTS:~8,6%
|
|
|
|
docker/server-log.bat > log/server-%DateTime%.log 2>&1 |