Source code
Revision control
Copy as Markdown
Other Tools
@if "%ECHOON%"=="" @echo off↩
SETLOCAL↩
↩
REM ******************************************************************↩
REM Usage:↩
REM winsymconv↩
REM ******************************************************************↩
↩
REM ******************************************************************↩
REM Initialize↩
REM ******************************************************************↩
SET SCRIPT_LOCATION=%~dp0↩
SET DBGHELP_WINHTTP=↩
SET USE_WINHTTP=↩
↩
REM ******************************************************************↩
REM Go to script location↩
REM ******************************************************************↩
pushd %SCRIPT_LOCATION%↩
↩
REM ******************************************************************↩
REM Make sure the symbol file directory exists↩
REM ******************************************************************↩
SET SYMBOL_DIR=%SCRIPT_LOCATION%symbol↩
if NOT EXIST %SYMBOL_DIR% MKDIR %SYMBOL_DIR%↩
if NOT EXIST %SYMBOL_DIR% echo Failed to create directory '%SYMBOL_DIR%' & goto :fail↩
↩
:restart↩
↩
REM ******************************************************************↩
REM Convert missing Windows symbols on the staging instance.↩
REM ******************************************************************↩
echo Converting missing Windows symbols on staging instance ...↩
↩
google_converter.exe ^↩
-l %SYMBOL_DIR% ^↩
-b "google|chrome|internal|private" ^↩
> %SCRIPT_LOCATION%last_cycle_staging.txt↩
↩
REM ******************************************************************↩
REM Convert missing Windows symbols on the production instance.↩
REM ******************************************************************↩
echo Converting missing Windows symbols on production instance ...↩
↩
google_converter.exe ^↩
-l %SYMBOL_DIR% ^↩
-b "google|chrome|internal|private" ^↩
> %SCRIPT_LOCATION%last_cycle_prod.txt↩
↩
REM ******************************************************************↩
REM Sleep for 5 minutes ...↩
REM ******************************************************************↩
echo Sleeping for 5 minutes ...↩
↩
%SCRIPT_LOCATION%sleep.exe 300↩
↩
REM ******************************************↩
REM Restart work loop ...↩
REM ******************************************↩
goto :restart↩
↩
:success↩
ENDLOCAL↩
exit /b 0↩
↩
:fail↩
ENDLOCAL↩
exit /b 1↩