How can I open a URL on a schedule in the default browser?How can I run a web page in task scheduler every...

Can criminal fraud exist without damages?

voltage of sounds of mp3files

The plural of 'stomach"

How do I keep an essay about "feeling flat" from feeling flat?

Is it correct to write "is not focus on"?

Applicability of Single Responsibility Principle

Tiptoe or tiphoof? Adjusting words to better fit fantasy races

What is the term when two people sing in harmony, but they aren't singing the same notes?

Irreducibility of a simple polynomial

Lay out the Carpet

The baby cries all morning

Print name if parameter passed to function

Can I use my Chinese passport to enter China after I acquired another citizenship?

Why Were Madagascar and New Zealand Discovered So Late?

Opposite of a diet

Mapping a list into a phase plot

How was Earth single-handedly capable of creating 3 of the 4 gods of chaos?

Should my PhD thesis be submitted under my legal name?

Why does John Bercow say “unlock” after reading out the results of a vote?

Coordinate position not precise

Go Pregnant or Go Home

How does it work when somebody invests in my business?

How does residential electricity work?

Star/Wye electrical connection math symbol



How can I open a URL on a schedule in the default browser?


How can I run a web page in task scheduler every day?Default browser hangsBrowser Stuck on Opening URLHow can I always open certain URLs/domains in certain browsers?Why the other URL is opening instead of the expected URL after clicking on a link received from google search in Firefox?Make Excel open some hyperlinks with non-default browserPossible to schedule a task to browse to a webpage in an already-open browser?Use Firefox to open an external program and pass the URL as a parameter, ie click to stream with MPCCan I launch a URL in browser, from scheduler, unless the URL is already open in a tab in the default browserWindows 10 Browser taking abnormally long to open external URLsWindows 10 warn before launching urls













33















I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis.



I know that if I was writing .Net code to do this, I could simply do something along the lines of Process.Start("http://example.com/somePage.html") which will cause the default browser to open to that address. Likewise, I can go to Start -> Run and type in a given address and that too will cause the default browser to open to that address. Using this knowledge, I thought I would create a Windows Scheduled Task where the "Start a program" field was set to the URL I wanted to start. Unfortunately, this doesn't work. When the task runs, the URL is not opened (nor are any browsers).



Can anyone point me in the right direction to make this happen? Ideally, I would like to stay away from 3rd-party utilities, leveraging Windows' Task Scheduler would be great. Also, just to be clear, I'm not looking for a browser plugin to accomplish this.



Also, I'm not looking for anything fancy wrt waking a sleeping computer to carry this task out. I'm fine with just letting this happen only when a user is logged in.










share|improve this question





























    33















    I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis.



    I know that if I was writing .Net code to do this, I could simply do something along the lines of Process.Start("http://example.com/somePage.html") which will cause the default browser to open to that address. Likewise, I can go to Start -> Run and type in a given address and that too will cause the default browser to open to that address. Using this knowledge, I thought I would create a Windows Scheduled Task where the "Start a program" field was set to the URL I wanted to start. Unfortunately, this doesn't work. When the task runs, the URL is not opened (nor are any browsers).



    Can anyone point me in the right direction to make this happen? Ideally, I would like to stay away from 3rd-party utilities, leveraging Windows' Task Scheduler would be great. Also, just to be clear, I'm not looking for a browser plugin to accomplish this.



    Also, I'm not looking for anything fancy wrt waking a sleeping computer to carry this task out. I'm fine with just letting this happen only when a user is logged in.










    share|improve this question



























      33












      33








      33


      10






      I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis.



      I know that if I was writing .Net code to do this, I could simply do something along the lines of Process.Start("http://example.com/somePage.html") which will cause the default browser to open to that address. Likewise, I can go to Start -> Run and type in a given address and that too will cause the default browser to open to that address. Using this knowledge, I thought I would create a Windows Scheduled Task where the "Start a program" field was set to the URL I wanted to start. Unfortunately, this doesn't work. When the task runs, the URL is not opened (nor are any browsers).



      Can anyone point me in the right direction to make this happen? Ideally, I would like to stay away from 3rd-party utilities, leveraging Windows' Task Scheduler would be great. Also, just to be clear, I'm not looking for a browser plugin to accomplish this.



      Also, I'm not looking for anything fancy wrt waking a sleeping computer to carry this task out. I'm fine with just letting this happen only when a user is logged in.










      share|improve this question
















      I'm looking for a mechanism to open a single URL in the user's current default browser on a schedule/recurring basis.



      I know that if I was writing .Net code to do this, I could simply do something along the lines of Process.Start("http://example.com/somePage.html") which will cause the default browser to open to that address. Likewise, I can go to Start -> Run and type in a given address and that too will cause the default browser to open to that address. Using this knowledge, I thought I would create a Windows Scheduled Task where the "Start a program" field was set to the URL I wanted to start. Unfortunately, this doesn't work. When the task runs, the URL is not opened (nor are any browsers).



      Can anyone point me in the right direction to make this happen? Ideally, I would like to stay away from 3rd-party utilities, leveraging Windows' Task Scheduler would be great. Also, just to be clear, I'm not looking for a browser plugin to accomplish this.



      Also, I'm not looking for anything fancy wrt waking a sleeping computer to carry this task out. I'm fine with just letting this happen only when a user is logged in.







      windows browser url task-scheduler






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 26 '18 at 20:53









      fixer1234

      19k144982




      19k144982










      asked Aug 10 '11 at 4:26









      ckittelckittel

      3931410




      3931410






















          7 Answers
          7






          active

          oldest

          votes


















          36














          I would create a batch file containing:




          start http://example.com/somePage.html




          And point Task Scheduler to that batch file. You can also test that it will work by running the batch file manually.






          share|improve this answer



















          • 2





            It may also work if you use that string as the command for your task, but I prefer to edit a batch file than have to look through my tasks if I need something changed.

            – Windos
            Aug 10 '11 at 4:38











          • Thanks @Windos, worked a treat. I found that it didn't work when that string was the command itself for my task. Could be that I was doing it wrong (missing "" around URL or something), but I didn't spent any extra time on it as the batch file solution gave me what I needed.

            – ckittel
            Aug 10 '11 at 13:51











          • The batch file approach works, but a black dos windows will flash. Is there any way to hide it? Using that string as the command of Task Scheduler doesn't work for me.

            – Gqqnbig
            Jul 6 '13 at 13:12






          • 1





            You will struggle with getting the batch file to actually get launched by Task Scheduler until you read this stackoverflow.com/questions/4437701/…

            – Matthew Lock
            Sep 3 '16 at 9:44











          • just note that it will open a tab in your default browser, and after a while if you do not close them automatically or manually will degrade the performance of the system

            – Iman Abidi
            Nov 28 '16 at 13:59





















          11














          I've recently found myself trying to solve this exact issue and I have found a few things that can hopefully be of help.



          Set up the scheduled task to run the following command:



          explorer "http://example.com/somePage.html"


          This does the trick without creating an extra file and without a flickering window. I have confirmed that this works on Windows 7 and opens the URL using the default browser.



          The same trick however does NOT work in Windows XP. The same command in Windows XP will always use Internet Explorer to open the given URL. The best solution I have found for WIndows XP to date is to set up a scheduled task with



          cmd /c start http://example.com/somePage.html


          Again, no extra file required, but you do get a brief appearance of a command window.



          I have not tested this on Windows Vista or Windows 8






          share|improve this answer


























          • It works on Windows Server 2012. cmd as the executable, and the rest for arguments.

            – Todd
            Sep 10 '16 at 12:12











          • See my expansion on this answer with pictures here - stackoverflow.com/a/39426110/887092

            – Todd
            Sep 10 '16 at 12:35



















          3














          You could make the Windows task manager run a program, and have it point to an HTML file that contains a redirection to the website you want it to open.




          1. Open Notepad.

          2. Write Javascript redirect.

          3. Save as HTML.

          4. Set task manager to open that HTML file on your desired schedule.


          Here is the Javascript. Let me know if it works.



          <script type="text/javascript">
          window.location = "http://www.google.com/"
          </script>





          share|improve this answer


























          • I have tested it, it works.

            – Alex Waters
            Aug 10 '11 at 4:50






          • 1





            +1. Thanks for this solution, I've tested it too, and it indeed works. @Windos solution is ideal for my needs, but I'm glad you posted this solution as it might be ideal for someone else.

            – ckittel
            Aug 10 '11 at 13:52













          • You mean "Task Scheduler->another program->my html->desired url"? Why don't the program directly open the desired url?

            – Gqqnbig
            Jul 6 '13 at 13:02



















          1














          For some reason the above solutions weren't working for me on Windows Server 2008 so I ended up going with the vbs approach:



          This has the added benefit of being able to do a POST with data if required.



          Create a vbs file with the following contents:



          Call LogEntry()

          Sub LogEntry()

          'Force the script to finish on an error.
          On Error Resume Next

          'Declare variables
          Dim objRequest
          Dim URL

          'The URL link.
          URL = "https://www.example.com"

          Set objRequest = CreateObject("Microsoft.XMLHTTP")

          'Open the HTTP request and pass the URL to the objRequest object
          objRequest.open "GET", URL , false

          'Send the HTML Request
          objRequest.Send

          'Set the object to nothing
          Set objRequest = Nothing

          End Sub


          Credit to this site






          share|improve this answer
























          • should this example be credited to 642weather.com/weather/wxblog/php-scripts/…

            – Binarysurf
            Aug 27 '16 at 1:05





















          0














          There are programs like One Million Clicks that can refresh a web page every x seconds/min/hours. You can even use a list of proxies to simulate real visitors on that page.






          share|improve this answer































            0














            If the reason that you're opening the webpage is that you need to keep an IIS application pool or worker process alive you can use a tool called Application Pool Defibrillator.






            share|improve this answer
























            • Or (in IIS 8.5 and above) you could set the app pool to be suspended rather than terminated, or set a longer timeout - see: docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/…

              – AndyS
              Jun 29 '18 at 12:36



















            0














            With Windows 10, CURL.exe is available. In scheduler, select CURL as the action and the URL you want to visit in the arguments field.






            share|improve this answer








            New contributor




            Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.




















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "3"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f321215%2fhow-can-i-open-a-url-on-a-schedule-in-the-default-browser%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              7 Answers
              7






              active

              oldest

              votes








              7 Answers
              7






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              36














              I would create a batch file containing:




              start http://example.com/somePage.html




              And point Task Scheduler to that batch file. You can also test that it will work by running the batch file manually.






              share|improve this answer



















              • 2





                It may also work if you use that string as the command for your task, but I prefer to edit a batch file than have to look through my tasks if I need something changed.

                – Windos
                Aug 10 '11 at 4:38











              • Thanks @Windos, worked a treat. I found that it didn't work when that string was the command itself for my task. Could be that I was doing it wrong (missing "" around URL or something), but I didn't spent any extra time on it as the batch file solution gave me what I needed.

                – ckittel
                Aug 10 '11 at 13:51











              • The batch file approach works, but a black dos windows will flash. Is there any way to hide it? Using that string as the command of Task Scheduler doesn't work for me.

                – Gqqnbig
                Jul 6 '13 at 13:12






              • 1





                You will struggle with getting the batch file to actually get launched by Task Scheduler until you read this stackoverflow.com/questions/4437701/…

                – Matthew Lock
                Sep 3 '16 at 9:44











              • just note that it will open a tab in your default browser, and after a while if you do not close them automatically or manually will degrade the performance of the system

                – Iman Abidi
                Nov 28 '16 at 13:59


















              36














              I would create a batch file containing:




              start http://example.com/somePage.html




              And point Task Scheduler to that batch file. You can also test that it will work by running the batch file manually.






              share|improve this answer



















              • 2





                It may also work if you use that string as the command for your task, but I prefer to edit a batch file than have to look through my tasks if I need something changed.

                – Windos
                Aug 10 '11 at 4:38











              • Thanks @Windos, worked a treat. I found that it didn't work when that string was the command itself for my task. Could be that I was doing it wrong (missing "" around URL or something), but I didn't spent any extra time on it as the batch file solution gave me what I needed.

                – ckittel
                Aug 10 '11 at 13:51











              • The batch file approach works, but a black dos windows will flash. Is there any way to hide it? Using that string as the command of Task Scheduler doesn't work for me.

                – Gqqnbig
                Jul 6 '13 at 13:12






              • 1





                You will struggle with getting the batch file to actually get launched by Task Scheduler until you read this stackoverflow.com/questions/4437701/…

                – Matthew Lock
                Sep 3 '16 at 9:44











              • just note that it will open a tab in your default browser, and after a while if you do not close them automatically or manually will degrade the performance of the system

                – Iman Abidi
                Nov 28 '16 at 13:59
















              36












              36








              36







              I would create a batch file containing:




              start http://example.com/somePage.html




              And point Task Scheduler to that batch file. You can also test that it will work by running the batch file manually.






              share|improve this answer













              I would create a batch file containing:




              start http://example.com/somePage.html




              And point Task Scheduler to that batch file. You can also test that it will work by running the batch file manually.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Aug 10 '11 at 4:33









              WindosWindos

              9,72142955




              9,72142955








              • 2





                It may also work if you use that string as the command for your task, but I prefer to edit a batch file than have to look through my tasks if I need something changed.

                – Windos
                Aug 10 '11 at 4:38











              • Thanks @Windos, worked a treat. I found that it didn't work when that string was the command itself for my task. Could be that I was doing it wrong (missing "" around URL or something), but I didn't spent any extra time on it as the batch file solution gave me what I needed.

                – ckittel
                Aug 10 '11 at 13:51











              • The batch file approach works, but a black dos windows will flash. Is there any way to hide it? Using that string as the command of Task Scheduler doesn't work for me.

                – Gqqnbig
                Jul 6 '13 at 13:12






              • 1





                You will struggle with getting the batch file to actually get launched by Task Scheduler until you read this stackoverflow.com/questions/4437701/…

                – Matthew Lock
                Sep 3 '16 at 9:44











              • just note that it will open a tab in your default browser, and after a while if you do not close them automatically or manually will degrade the performance of the system

                – Iman Abidi
                Nov 28 '16 at 13:59
















              • 2





                It may also work if you use that string as the command for your task, but I prefer to edit a batch file than have to look through my tasks if I need something changed.

                – Windos
                Aug 10 '11 at 4:38











              • Thanks @Windos, worked a treat. I found that it didn't work when that string was the command itself for my task. Could be that I was doing it wrong (missing "" around URL or something), but I didn't spent any extra time on it as the batch file solution gave me what I needed.

                – ckittel
                Aug 10 '11 at 13:51











              • The batch file approach works, but a black dos windows will flash. Is there any way to hide it? Using that string as the command of Task Scheduler doesn't work for me.

                – Gqqnbig
                Jul 6 '13 at 13:12






              • 1





                You will struggle with getting the batch file to actually get launched by Task Scheduler until you read this stackoverflow.com/questions/4437701/…

                – Matthew Lock
                Sep 3 '16 at 9:44











              • just note that it will open a tab in your default browser, and after a while if you do not close them automatically or manually will degrade the performance of the system

                – Iman Abidi
                Nov 28 '16 at 13:59










              2




              2





              It may also work if you use that string as the command for your task, but I prefer to edit a batch file than have to look through my tasks if I need something changed.

              – Windos
              Aug 10 '11 at 4:38





              It may also work if you use that string as the command for your task, but I prefer to edit a batch file than have to look through my tasks if I need something changed.

              – Windos
              Aug 10 '11 at 4:38













              Thanks @Windos, worked a treat. I found that it didn't work when that string was the command itself for my task. Could be that I was doing it wrong (missing "" around URL or something), but I didn't spent any extra time on it as the batch file solution gave me what I needed.

              – ckittel
              Aug 10 '11 at 13:51





              Thanks @Windos, worked a treat. I found that it didn't work when that string was the command itself for my task. Could be that I was doing it wrong (missing "" around URL or something), but I didn't spent any extra time on it as the batch file solution gave me what I needed.

              – ckittel
              Aug 10 '11 at 13:51













              The batch file approach works, but a black dos windows will flash. Is there any way to hide it? Using that string as the command of Task Scheduler doesn't work for me.

              – Gqqnbig
              Jul 6 '13 at 13:12





              The batch file approach works, but a black dos windows will flash. Is there any way to hide it? Using that string as the command of Task Scheduler doesn't work for me.

              – Gqqnbig
              Jul 6 '13 at 13:12




              1




              1





              You will struggle with getting the batch file to actually get launched by Task Scheduler until you read this stackoverflow.com/questions/4437701/…

              – Matthew Lock
              Sep 3 '16 at 9:44





              You will struggle with getting the batch file to actually get launched by Task Scheduler until you read this stackoverflow.com/questions/4437701/…

              – Matthew Lock
              Sep 3 '16 at 9:44













              just note that it will open a tab in your default browser, and after a while if you do not close them automatically or manually will degrade the performance of the system

              – Iman Abidi
              Nov 28 '16 at 13:59







              just note that it will open a tab in your default browser, and after a while if you do not close them automatically or manually will degrade the performance of the system

              – Iman Abidi
              Nov 28 '16 at 13:59















              11














              I've recently found myself trying to solve this exact issue and I have found a few things that can hopefully be of help.



              Set up the scheduled task to run the following command:



              explorer "http://example.com/somePage.html"


              This does the trick without creating an extra file and without a flickering window. I have confirmed that this works on Windows 7 and opens the URL using the default browser.



              The same trick however does NOT work in Windows XP. The same command in Windows XP will always use Internet Explorer to open the given URL. The best solution I have found for WIndows XP to date is to set up a scheduled task with



              cmd /c start http://example.com/somePage.html


              Again, no extra file required, but you do get a brief appearance of a command window.



              I have not tested this on Windows Vista or Windows 8






              share|improve this answer


























              • It works on Windows Server 2012. cmd as the executable, and the rest for arguments.

                – Todd
                Sep 10 '16 at 12:12











              • See my expansion on this answer with pictures here - stackoverflow.com/a/39426110/887092

                – Todd
                Sep 10 '16 at 12:35
















              11














              I've recently found myself trying to solve this exact issue and I have found a few things that can hopefully be of help.



              Set up the scheduled task to run the following command:



              explorer "http://example.com/somePage.html"


              This does the trick without creating an extra file and without a flickering window. I have confirmed that this works on Windows 7 and opens the URL using the default browser.



              The same trick however does NOT work in Windows XP. The same command in Windows XP will always use Internet Explorer to open the given URL. The best solution I have found for WIndows XP to date is to set up a scheduled task with



              cmd /c start http://example.com/somePage.html


              Again, no extra file required, but you do get a brief appearance of a command window.



              I have not tested this on Windows Vista or Windows 8






              share|improve this answer


























              • It works on Windows Server 2012. cmd as the executable, and the rest for arguments.

                – Todd
                Sep 10 '16 at 12:12











              • See my expansion on this answer with pictures here - stackoverflow.com/a/39426110/887092

                – Todd
                Sep 10 '16 at 12:35














              11












              11








              11







              I've recently found myself trying to solve this exact issue and I have found a few things that can hopefully be of help.



              Set up the scheduled task to run the following command:



              explorer "http://example.com/somePage.html"


              This does the trick without creating an extra file and without a flickering window. I have confirmed that this works on Windows 7 and opens the URL using the default browser.



              The same trick however does NOT work in Windows XP. The same command in Windows XP will always use Internet Explorer to open the given URL. The best solution I have found for WIndows XP to date is to set up a scheduled task with



              cmd /c start http://example.com/somePage.html


              Again, no extra file required, but you do get a brief appearance of a command window.



              I have not tested this on Windows Vista or Windows 8






              share|improve this answer















              I've recently found myself trying to solve this exact issue and I have found a few things that can hopefully be of help.



              Set up the scheduled task to run the following command:



              explorer "http://example.com/somePage.html"


              This does the trick without creating an extra file and without a flickering window. I have confirmed that this works on Windows 7 and opens the URL using the default browser.



              The same trick however does NOT work in Windows XP. The same command in Windows XP will always use Internet Explorer to open the given URL. The best solution I have found for WIndows XP to date is to set up a scheduled task with



              cmd /c start http://example.com/somePage.html


              Again, no extra file required, but you do get a brief appearance of a command window.



              I have not tested this on Windows Vista or Windows 8







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Dec 12 '13 at 15:19

























              answered Dec 12 '13 at 15:04









              Julien PicalausaJulien Picalausa

              11913




              11913













              • It works on Windows Server 2012. cmd as the executable, and the rest for arguments.

                – Todd
                Sep 10 '16 at 12:12











              • See my expansion on this answer with pictures here - stackoverflow.com/a/39426110/887092

                – Todd
                Sep 10 '16 at 12:35



















              • It works on Windows Server 2012. cmd as the executable, and the rest for arguments.

                – Todd
                Sep 10 '16 at 12:12











              • See my expansion on this answer with pictures here - stackoverflow.com/a/39426110/887092

                – Todd
                Sep 10 '16 at 12:35

















              It works on Windows Server 2012. cmd as the executable, and the rest for arguments.

              – Todd
              Sep 10 '16 at 12:12





              It works on Windows Server 2012. cmd as the executable, and the rest for arguments.

              – Todd
              Sep 10 '16 at 12:12













              See my expansion on this answer with pictures here - stackoverflow.com/a/39426110/887092

              – Todd
              Sep 10 '16 at 12:35





              See my expansion on this answer with pictures here - stackoverflow.com/a/39426110/887092

              – Todd
              Sep 10 '16 at 12:35











              3














              You could make the Windows task manager run a program, and have it point to an HTML file that contains a redirection to the website you want it to open.




              1. Open Notepad.

              2. Write Javascript redirect.

              3. Save as HTML.

              4. Set task manager to open that HTML file on your desired schedule.


              Here is the Javascript. Let me know if it works.



              <script type="text/javascript">
              window.location = "http://www.google.com/"
              </script>





              share|improve this answer


























              • I have tested it, it works.

                – Alex Waters
                Aug 10 '11 at 4:50






              • 1





                +1. Thanks for this solution, I've tested it too, and it indeed works. @Windos solution is ideal for my needs, but I'm glad you posted this solution as it might be ideal for someone else.

                – ckittel
                Aug 10 '11 at 13:52













              • You mean "Task Scheduler->another program->my html->desired url"? Why don't the program directly open the desired url?

                – Gqqnbig
                Jul 6 '13 at 13:02
















              3














              You could make the Windows task manager run a program, and have it point to an HTML file that contains a redirection to the website you want it to open.




              1. Open Notepad.

              2. Write Javascript redirect.

              3. Save as HTML.

              4. Set task manager to open that HTML file on your desired schedule.


              Here is the Javascript. Let me know if it works.



              <script type="text/javascript">
              window.location = "http://www.google.com/"
              </script>





              share|improve this answer


























              • I have tested it, it works.

                – Alex Waters
                Aug 10 '11 at 4:50






              • 1





                +1. Thanks for this solution, I've tested it too, and it indeed works. @Windos solution is ideal for my needs, but I'm glad you posted this solution as it might be ideal for someone else.

                – ckittel
                Aug 10 '11 at 13:52













              • You mean "Task Scheduler->another program->my html->desired url"? Why don't the program directly open the desired url?

                – Gqqnbig
                Jul 6 '13 at 13:02














              3












              3








              3







              You could make the Windows task manager run a program, and have it point to an HTML file that contains a redirection to the website you want it to open.




              1. Open Notepad.

              2. Write Javascript redirect.

              3. Save as HTML.

              4. Set task manager to open that HTML file on your desired schedule.


              Here is the Javascript. Let me know if it works.



              <script type="text/javascript">
              window.location = "http://www.google.com/"
              </script>





              share|improve this answer















              You could make the Windows task manager run a program, and have it point to an HTML file that contains a redirection to the website you want it to open.




              1. Open Notepad.

              2. Write Javascript redirect.

              3. Save as HTML.

              4. Set task manager to open that HTML file on your desired schedule.


              Here is the Javascript. Let me know if it works.



              <script type="text/javascript">
              window.location = "http://www.google.com/"
              </script>






              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited Dec 17 '17 at 15:30









              Wrzlprmft

              2,28341429




              2,28341429










              answered Aug 10 '11 at 4:43









              Alex WatersAlex Waters

              77651120




              77651120













              • I have tested it, it works.

                – Alex Waters
                Aug 10 '11 at 4:50






              • 1





                +1. Thanks for this solution, I've tested it too, and it indeed works. @Windos solution is ideal for my needs, but I'm glad you posted this solution as it might be ideal for someone else.

                – ckittel
                Aug 10 '11 at 13:52













              • You mean "Task Scheduler->another program->my html->desired url"? Why don't the program directly open the desired url?

                – Gqqnbig
                Jul 6 '13 at 13:02



















              • I have tested it, it works.

                – Alex Waters
                Aug 10 '11 at 4:50






              • 1





                +1. Thanks for this solution, I've tested it too, and it indeed works. @Windos solution is ideal for my needs, but I'm glad you posted this solution as it might be ideal for someone else.

                – ckittel
                Aug 10 '11 at 13:52













              • You mean "Task Scheduler->another program->my html->desired url"? Why don't the program directly open the desired url?

                – Gqqnbig
                Jul 6 '13 at 13:02

















              I have tested it, it works.

              – Alex Waters
              Aug 10 '11 at 4:50





              I have tested it, it works.

              – Alex Waters
              Aug 10 '11 at 4:50




              1




              1





              +1. Thanks for this solution, I've tested it too, and it indeed works. @Windos solution is ideal for my needs, but I'm glad you posted this solution as it might be ideal for someone else.

              – ckittel
              Aug 10 '11 at 13:52







              +1. Thanks for this solution, I've tested it too, and it indeed works. @Windos solution is ideal for my needs, but I'm glad you posted this solution as it might be ideal for someone else.

              – ckittel
              Aug 10 '11 at 13:52















              You mean "Task Scheduler->another program->my html->desired url"? Why don't the program directly open the desired url?

              – Gqqnbig
              Jul 6 '13 at 13:02





              You mean "Task Scheduler->another program->my html->desired url"? Why don't the program directly open the desired url?

              – Gqqnbig
              Jul 6 '13 at 13:02











              1














              For some reason the above solutions weren't working for me on Windows Server 2008 so I ended up going with the vbs approach:



              This has the added benefit of being able to do a POST with data if required.



              Create a vbs file with the following contents:



              Call LogEntry()

              Sub LogEntry()

              'Force the script to finish on an error.
              On Error Resume Next

              'Declare variables
              Dim objRequest
              Dim URL

              'The URL link.
              URL = "https://www.example.com"

              Set objRequest = CreateObject("Microsoft.XMLHTTP")

              'Open the HTTP request and pass the URL to the objRequest object
              objRequest.open "GET", URL , false

              'Send the HTML Request
              objRequest.Send

              'Set the object to nothing
              Set objRequest = Nothing

              End Sub


              Credit to this site






              share|improve this answer
























              • should this example be credited to 642weather.com/weather/wxblog/php-scripts/…

                – Binarysurf
                Aug 27 '16 at 1:05


















              1














              For some reason the above solutions weren't working for me on Windows Server 2008 so I ended up going with the vbs approach:



              This has the added benefit of being able to do a POST with data if required.



              Create a vbs file with the following contents:



              Call LogEntry()

              Sub LogEntry()

              'Force the script to finish on an error.
              On Error Resume Next

              'Declare variables
              Dim objRequest
              Dim URL

              'The URL link.
              URL = "https://www.example.com"

              Set objRequest = CreateObject("Microsoft.XMLHTTP")

              'Open the HTTP request and pass the URL to the objRequest object
              objRequest.open "GET", URL , false

              'Send the HTML Request
              objRequest.Send

              'Set the object to nothing
              Set objRequest = Nothing

              End Sub


              Credit to this site






              share|improve this answer
























              • should this example be credited to 642weather.com/weather/wxblog/php-scripts/…

                – Binarysurf
                Aug 27 '16 at 1:05
















              1












              1








              1







              For some reason the above solutions weren't working for me on Windows Server 2008 so I ended up going with the vbs approach:



              This has the added benefit of being able to do a POST with data if required.



              Create a vbs file with the following contents:



              Call LogEntry()

              Sub LogEntry()

              'Force the script to finish on an error.
              On Error Resume Next

              'Declare variables
              Dim objRequest
              Dim URL

              'The URL link.
              URL = "https://www.example.com"

              Set objRequest = CreateObject("Microsoft.XMLHTTP")

              'Open the HTTP request and pass the URL to the objRequest object
              objRequest.open "GET", URL , false

              'Send the HTML Request
              objRequest.Send

              'Set the object to nothing
              Set objRequest = Nothing

              End Sub


              Credit to this site






              share|improve this answer













              For some reason the above solutions weren't working for me on Windows Server 2008 so I ended up going with the vbs approach:



              This has the added benefit of being able to do a POST with data if required.



              Create a vbs file with the following contents:



              Call LogEntry()

              Sub LogEntry()

              'Force the script to finish on an error.
              On Error Resume Next

              'Declare variables
              Dim objRequest
              Dim URL

              'The URL link.
              URL = "https://www.example.com"

              Set objRequest = CreateObject("Microsoft.XMLHTTP")

              'Open the HTTP request and pass the URL to the objRequest object
              objRequest.open "GET", URL , false

              'Send the HTML Request
              objRequest.Send

              'Set the object to nothing
              Set objRequest = Nothing

              End Sub


              Credit to this site







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Aug 25 '16 at 22:05









              Matt KempMatt Kemp

              1113




              1113













              • should this example be credited to 642weather.com/weather/wxblog/php-scripts/…

                – Binarysurf
                Aug 27 '16 at 1:05





















              • should this example be credited to 642weather.com/weather/wxblog/php-scripts/…

                – Binarysurf
                Aug 27 '16 at 1:05



















              should this example be credited to 642weather.com/weather/wxblog/php-scripts/…

              – Binarysurf
              Aug 27 '16 at 1:05







              should this example be credited to 642weather.com/weather/wxblog/php-scripts/…

              – Binarysurf
              Aug 27 '16 at 1:05













              0














              There are programs like One Million Clicks that can refresh a web page every x seconds/min/hours. You can even use a list of proxies to simulate real visitors on that page.






              share|improve this answer




























                0














                There are programs like One Million Clicks that can refresh a web page every x seconds/min/hours. You can even use a list of proxies to simulate real visitors on that page.






                share|improve this answer


























                  0












                  0








                  0







                  There are programs like One Million Clicks that can refresh a web page every x seconds/min/hours. You can even use a list of proxies to simulate real visitors on that page.






                  share|improve this answer













                  There are programs like One Million Clicks that can refresh a web page every x seconds/min/hours. You can even use a list of proxies to simulate real visitors on that page.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 28 '14 at 21:00









                  RigelRigel

                  1,02162142




                  1,02162142























                      0














                      If the reason that you're opening the webpage is that you need to keep an IIS application pool or worker process alive you can use a tool called Application Pool Defibrillator.






                      share|improve this answer
























                      • Or (in IIS 8.5 and above) you could set the app pool to be suspended rather than terminated, or set a longer timeout - see: docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/…

                        – AndyS
                        Jun 29 '18 at 12:36
















                      0














                      If the reason that you're opening the webpage is that you need to keep an IIS application pool or worker process alive you can use a tool called Application Pool Defibrillator.






                      share|improve this answer
























                      • Or (in IIS 8.5 and above) you could set the app pool to be suspended rather than terminated, or set a longer timeout - see: docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/…

                        – AndyS
                        Jun 29 '18 at 12:36














                      0












                      0








                      0







                      If the reason that you're opening the webpage is that you need to keep an IIS application pool or worker process alive you can use a tool called Application Pool Defibrillator.






                      share|improve this answer













                      If the reason that you're opening the webpage is that you need to keep an IIS application pool or worker process alive you can use a tool called Application Pool Defibrillator.







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Oct 10 '14 at 8:04









                      KristofferKristoffer

                      170119




                      170119













                      • Or (in IIS 8.5 and above) you could set the app pool to be suspended rather than terminated, or set a longer timeout - see: docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/…

                        – AndyS
                        Jun 29 '18 at 12:36



















                      • Or (in IIS 8.5 and above) you could set the app pool to be suspended rather than terminated, or set a longer timeout - see: docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/…

                        – AndyS
                        Jun 29 '18 at 12:36

















                      Or (in IIS 8.5 and above) you could set the app pool to be suspended rather than terminated, or set a longer timeout - see: docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/…

                      – AndyS
                      Jun 29 '18 at 12:36





                      Or (in IIS 8.5 and above) you could set the app pool to be suspended rather than terminated, or set a longer timeout - see: docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-85/…

                      – AndyS
                      Jun 29 '18 at 12:36











                      0














                      With Windows 10, CURL.exe is available. In scheduler, select CURL as the action and the URL you want to visit in the arguments field.






                      share|improve this answer








                      New contributor




                      Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                      Check out our Code of Conduct.

























                        0














                        With Windows 10, CURL.exe is available. In scheduler, select CURL as the action and the URL you want to visit in the arguments field.






                        share|improve this answer








                        New contributor




                        Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.























                          0












                          0








                          0







                          With Windows 10, CURL.exe is available. In scheduler, select CURL as the action and the URL you want to visit in the arguments field.






                          share|improve this answer








                          New contributor




                          Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.










                          With Windows 10, CURL.exe is available. In scheduler, select CURL as the action and the URL you want to visit in the arguments field.







                          share|improve this answer








                          New contributor




                          Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          share|improve this answer



                          share|improve this answer






                          New contributor




                          Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.









                          answered 20 mins ago









                          Steve Kennedy-WilliamsSteve Kennedy-Williams

                          1




                          1




                          New contributor




                          Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.





                          New contributor





                          Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






                          Steve Kennedy-Williams is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Super User!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f321215%2fhow-can-i-open-a-url-on-a-schedule-in-the-default-browser%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

                              Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                              VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...