On MS Windows operating systems you can use SCHTASK to open a web page at a specific time, why not when it's so easy!Here are a few examples for the time-controlled opening of websites on the Windows computer with Windows 11,10, ....! This time-controlled opening of a website can be used with all other Windows desktop and server operating systems! EXAMPLE 1: In this example it is www.softwareok.com which should be opened at 09:00! Info: if it is after 09:00, the website will open the next day! SchTasks /Create /SC DAILY /TN "My Website" /TR "C:\Windows\explorer.exe https://www.softwareok.com" /ST 09:00 SUCCESS: The scheduled task "My Website" was created successfully. TO: "C:\Windows\explorer.exe https://www.softwareok.com" I simply used the file explorer here because it automatically calls up the standard Internet browser and the path is shorter than to the Internet browser. Otherwise: ►► Open the location of a program in Windows-10 / 11! TO: /SC DAILY You can also use a specific date, see the other examples! EXAMPLE 2: Listing the open commands is done by simply typing "SchTasks" with no arguments! C:\Windows\System32>SchTasks Folder:\ Task Name Next Runtime Status =================================== ===== My Website 07/14/2022 09:00:00 Ready My Website-2 01/01/2023 01:01:00 Ready EXAMPLE 3: Overriding the timed opening of the website! SchTasks /Delete /TN “My Website” EXAMPLE 5: Listing again by simply typing SCHTASKS C:\Windows\System32>SchTasks Folder:\ Task Name Next Runtime Status My Website-2 01/01/2023 01:01:00 Ready EXAMPLE 6: You want a specific page open at 01:01 on 01/01/2023! /SD 01/01/2023 <date /ST 01:01 <time SCHTASKS /Create /SC ONCE /TN "My Webseite-2" /TR "C:\Windows\explorer.exe https://www.softwareok.com" /SD 01/01/2023 /ST 01:01
EXAMPLE 7: You want a specific page to open at 9:09 every Monday SchTasks /Create /SC WEEKLY /D MON /TN "Task-5" /TR "C:\Windows\explorer.exe https://www.softwareok.com" /ST 09:09 EXAMPLE 8: You want a specific page to start at 9:09 every day SchTasks /Create /SC WEEKLY /D MON, TUE, WED, THU, FRI, SAT, SUN /TN "Task-6" /TR "C:\Windows\explorer.exe https://www.softwareok.com" /ST 09:09 See also: ► Change date/time Command prompt commands, with examples? Attention: You may have to be logged in as an administrator or as a member of the Administrators group in order to be able to start various programs automatically with this simple example. Use the SCHTASKS help and play with different settings. ►► You can also see it n the task scheduler! ►► .... more about SCHTASKS ! FAQ 147: Updated on: 26 August 2023 13:01 |