Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

What's the best way to have a Windows Server request some webpage every xx minutes? Coming from the Linux world, I know I can do this with a cron job using curl or wget. I don't need to save the resulting page, I just need the script to run server-side, as if somebody manually visited the page. Do I need to install wget for Windows or can I use some existing Windows tool to accomplish this via Scheduled Task?

share|improve this question

2 Answers 2

up vote 4 down vote accepted

Get wget for Windows and use a scheduled task.

share|improve this answer

I think you can create simple batch file with somethink like this inside and schedule it via Task Scheduler :) I've test this script on workstation and server - works on both for me.

"C:\Program Files\Internet Explorer\iexplore.exe" http://serverfault.com/questions/117893/windows-scheduled-task-ping-webpage-every-xx-minutes
share|improve this answer
    
Okay I'll give that a try. My biggest concern is that I don't want 1000 instances of IE running. I'm hoping that each execution will use the same instance (or close itself after the page has loaded). Worst case I'll probably build a simple console app to do this for me. –  Colin O'Dell Mar 1 '10 at 16:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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