-16

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

Tomorrow I will go holiday and I can't connect to internet for 5 days. In my SO account I have 64 consecutive day visit. And I don't wanna lose these days.

I save my SO profile in a web page and saved my desktop.

enter image description here

But when I run it, opens file:///C:/Users/Soner/Desktop/Stack%20Overflow.htm url. So this isn't good for me. Because this isn't count for consecutive day visit.

Is there any way that can I do that with task scheduler ? (Like autorun every day.)

2 Answers2

12

Use the Windows Task Scheduler to run your browser's executable firefox.exe with the hyperlink of the webpage http://superuser.com as the parameter.

You don't want to run a file, you want to run the executable. For you its probably "C:\Program Files\Mozilla Firefox\firefox.exe" http://superuser.com. Copy and paste that into the run box. If it opens superuser.com in Firefox, that is what you want to put into the task scheduler.

ctype.h
  • 863
Keltari
  • 75,447
8

You can use the Windows Task Scheduler to do this, as its built right into XP.

To open Scheduled Tasks, click Start, click All Programs, point to Accessories, point to System Tools, and then click Scheduled Tasks.

Navigate through this, setting up a description for what it will do, a title, etc. When it gets to choosing a program, make sure your action is going straight to the Firefox executable. By default that is c:\Program Files\Mozilla Firefox\firefox.exe (on XP).

Adding a URL in the parameters using "http://url.com" will do it. Specifically for Stack Overflow, use this as your command:

c:\Program Files\Mozilla Firefox\firefox.exe "http://www.stackoverflow.com"

If that did not work, you could also put it into a batch script, and have it kill Firefox after X time, although that is beyond my personal knowledge.