Files
siloqy/update_VBT_parquet_cache.bat

37 lines
885 B
Batchfile
Raw Normal View History

@echo off
chcp 65001 >nul
echo ==========================================
echo VBT Parquet Cache Updater
echo ==========================================
echo.
REM Get the script's directory and move there
set "SCRIPT_DIR=%~dp0"
cd /d "%SCRIPT_DIR%"
echo Working directory: %CD%
echo.
echo Updating VBT Parquet cache from JSON data...
echo This will process only new or stale dates (incremental update).
echo.
REM Run the Python update script
python _update_vbt_cache.py
set "EXIT_CODE=%errorlevel%"
echo.
if %EXIT_CODE% == 0 (
echo ==========================================
echo Cache update completed successfully!
echo ==========================================
) else (
echo ==========================================
echo Cache update FAILED with error code %EXIT_CODE%
echo ==========================================
)
pause
exit /b %EXIT_CODE%