HTTP-Invoke URL by Windows Task Scheduler (schtasks.exe)
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?
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.
Check more discussion of this question.
Related posts:
- Open Web Page in Windows 2008 R2 Task Scheduler runs forever
- How to schedule a task for multiple days of a month using schtasks.exe?
- Windows 2008 Task Scheduler doesn’t show cmd window when task executes
- How to trigger a task at any change on a folder with Windows Server Task Scheduler?
- How do I kick off iexplore.exe to open a url from a windows 2003 scheduled task? It only seems to open the required url when I am logged in as the user it runs under
Leave a comment
Recent Posts
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





