loco_status.bat 349 B

12345678
  1. @call "%~dp0config.bat" 0 > nul
  2. set PGPASSWORD=loco
  3. %PGSRV%\psql.exe --host=%PGHOST% --username=loco_auswertung_benutzer --dbname=loco_auswertung_db --command="SELECT type,value_text FROM public.configuration WHERE type IN ('created_start', 'created_end', 'version_module') ORDER BY type"
  4. ..\python\python.exe loco_status.py
  5. exit /b %errorlevel%