12 lines
424 B
Batchfile
12 lines
424 B
Batchfile
@echo off
|
|
setlocal
|
|
cd /d "%~dp0"
|
|
echo ==== trigger /gen (KC0032-87, non-standard stroke) ====
|
|
curl.exe -s -X POST http://localhost:8899/gen -H "Content-Type: application/json" -d "{\"series\":\"KC\",\"params\":{\"type\":\"00\",\"bore\":32,\"stroke\":87,\"magnet\":\"\",\"mount\":\"\"},\"code\":\"KC0032-87\"}"
|
|
echo.
|
|
echo exit = %ERRORLEVEL%
|
|
echo.
|
|
echo ==== newest job files ====
|
|
dir /b /o-d "jobs\job_*.json" 2>nul
|
|
endlocal
|