Files
toolkit/bin/updater/add-task.bat
T
2022-02-15 02:43:20 -03:00

17 lines
508 B
Batchfile

@ECHO OFF
echo Add auto updater custom task
echo read more in README.md
echo.
echo Execute in elevated command prompt!
echo -------------------------------------------------
echo.
cd /D "%~dp0"
:: for hide window use cmdow.exe or hstart.exe
::SCHTASKS /CREATE /SC DAILY /TN "IndetectablesToolkit_Updater" /TR "%cd%\..\hstart\hstart.exe /NOCONSOLE %cd%\updater.exe" /ST 14:00
SCHTASKS /CREATE /SC WEEKLY /TN "IndetectablesToolkit_Updater" /TR "%cd%\..\hstart\hstart.exe /NOCONSOLE %cd%\updater.exe"
pause