Channel | Publish Date | Thumbnail & View Count | Actions |
---|---|---|---|
| 2021-01-05 19:46:27 | ![]() 1,072 Views |
A very simple video where I show you guys how to create a Task Scheduler Event on Windows. The event runs every week on Thursday.
I have included the code below in case you guys want it –
TimeSheetScript –
@ECHO OFF
:: This script will open the website set in the website variable
set website=/”https://www.andreijw.com/”
:: Use the default browser to open the input URL
start /”/” %website%
TimeSheetRunner –
@ECHO OFF
:: This will create an event scheduler task to run every thursday
set currentDir=%~dp0
set scriptToRun=TimeSheetScript.bat
set scriptPath=%currentDir%%scriptToRun%
echo Creating task to run the file – %scriptPath%
SCHTASKS /CREATE /SC WEEKLY /TN /”TimeSheet Opener/” /TR %scriptPath% /D THU
echo Action Complete
pause
My Website- https://www.andreijw.com
Please take the opportunity to connect and share this video with your friends and family if you find it useful.