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.

I'd like to send HTTP requests using the Windows Task Scheduler. In UNIX cron jobs, I can do that using

wget http://www.google.com -O /dev/null

How to do the same on a Windows Server?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

You can download a windows version of wget. Create a batch file, if you need more processing:

@echo off
wget http://www.google.com -O nul
rem do something else, if needed

In your Task, simply call this batch file.

share|improve this answer
    
thanks, no native tool that can do the same? –  cheeesus Jun 25 '12 at 14:22
    
@cheeesus: PowerShell can. See stackoverflow.com/questions/1973880/download-url-content –  jftuga Jun 25 '12 at 14:24
    
great thank you –  cheeesus Jun 25 '12 at 15:04
add comment

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.