@echo off set HOST=http://localhost:8080 set SVC=etl_load.v1.EtlLoadService set BUF=C:\tools\buf\buf.exe set LOG=c:\etl\log\task-full.log echo %DATE% %TIME% Starting full ETL >> "%LOG%" 2>&1 "%BUF%" curl --protocol connect --schema "c:\etl" ^ "%HOST%/%SVC%/EtlRun" ^ -d "{\"action\":\"sync_concurrent_with_retry\",\"load_scope\":\"full\",\"execution_trigger\":\"scheduled\",\"should_refresh_model\":true,\"created_by_user\":\"chad\"}" >> "%LOG%" 2>&1 echo %DATE% %TIME% Finished full ETL (exit %ERRORLEVEL%) >> "%LOG%" 2>&1