@echo off

echo RUNNING THIS SCRIPT IS DEPRECATED
echo Use bin\windows\kalite.bat

rem determine the script directory (could be in scripts, could be in root folder)
set "SCRIPT_DIR=%~dp0"
if not exist "%SCRIPT_DIR%\python.bat" (
    set "SCRIPT_DIR=%SCRIPT_DIR%\scripts"
)

call "%SCRIPT_DIR%\cronstop.bat"
call "%SCRIPT_DIR%\serverstop.bat"

echo.
echo The KA Lite server was stopped.
