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.)

link|improve this question

5  
Don't you think that's kinda cheating? – Linker3000 Aug 28 '11 at 20:40
Can be. But What is my fault? I visit with 2 month but I will go holiday for 5 days and I don't wanna loose 64 days. – Soner Gönül Aug 28 '11 at 20:45
Do mind that just visiting the page isn't counted as a "visit". Some actions need to be performed, so a program/script that just visits a page won't do anyway. What "actions" need to be performed is one of the great dark secrets of SE! ;) And besides that, SE has very advanced methods of detecting patterns in user activity that may be a result of cheating/fraude. It might pick up visiting activity as well. – BloodPhilia Aug 28 '11 at 20:53
8  
Just visit an internet cafe. Otherwise, what kind of Fanatic are you? – random Aug 28 '11 at 21:02
8  
@SonerGönül Then why do you think you would deserve the Fanatic badge? The badge is there as a reward for an accomplishment. Where's the honour/fun in getting it like that? – BloodPhilia Aug 28 '11 at 21:08
show 1 more comment
feedback

closed as exact duplicate by random Aug 28 '11 at 21:12

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

up vote 4 down vote accepted

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.

link|improve this answer
1  
How can I do that? Can you more explain? – Soner Gönül Aug 28 '11 at 20:37
you dont 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 Cut 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. – Keltari Aug 28 '11 at 20:43
Take a look at my answer – Simon Sheehan Aug 28 '11 at 20:50
4  
@Keltari, rather than answering in comments I suggest you add that in your answer, though Simon already did you one up – Ivo Flipse Aug 28 '11 at 21:05
feedback

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.

link|improve this answer
After that how can I close the browser again with Task Scheduler? – Soner Gönül Aug 28 '11 at 20:55
You could set it to run taskkill /IM firefox.exe 2 minutes later or something. – Simon Sheehan Aug 28 '11 at 21:03
How can I do taskkill ? With Task Scheduler ? – Soner Gönül Aug 28 '11 at 21:15
I am not on Windows XP - when you setup a task, what are the options? – Simon Sheehan Aug 28 '11 at 21:15
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.