Run system URL daily through the Windows Task Scheduler

-4

I would like to schedule a task in Windows Task Scheduler. It consists of daily, at certain times, open the browser and execute a certain URL (which will perform some tasks {inserts, updates ..) of a software).

I already know how to schedule the task. I need only the .bat script that will do the action of opening the browser and executing the URL. Someone who can help me?

    
asked by anonymous 10.07.2018 / 13:57

1 answer

1

Starting from the point you already know how to schedule the task, then create a batch file (* .bat) with the following line and schedule its execution:

start https://br.stackoverflow.com

This will make your default browser open the URL informed.

Another alternative is to schedule a task requesting the execution of the desired browser and passing the URL as an argument.

In this case the task is scheduled to run in Firefox, even if the default browser is another.

    
15.07.2018 / 01:22