Published on 02/27/2012
Recently, I developed a need to make regular API calls from a WAMP Server on Windows to a Linux web-server. I wanted to ping the URL silently (without launching a browser window).
Fortunately, I found an wonderful, small utility called HTTP-Ping. Within minutes, I was able to setup a quick Batch Script, and a Scheduled Task in Windows to ping the URL whenever I need.
Here are the steps for you to duplicate this process:
- Download HTTP Ping from: http://www.coretechnologies.com/products/http-ping/
- Create a file with a .bat extension in the same directory as the http-ping.exe directory
- Add a line like the following to the .bat file:
http-ping -s -n 1 http://example.com/test.php
- Setup a Scheduled Task in Windows (see references below)