Periodically pings a list of URLs to keep websites alive.

How to use

Step 1: Configure PingMachine

			<add url=""/>

(see configuration reference to use the <sharpNick> node)

Step 2: Start the machine

void Application_Start(object sender, EventArgs e) 

Step 3: Done!

For websites protected by 401 challenge

If the domain requires a username and password, enter them in the <credentials> code under <pingMachine>:

			<add url=""
				username="username" password="password" />

Increase frequency of ping

PingMachine pings every URL every 4 minutes by default, which is sufficient to keep ASP.NET websites with default settings alive. If you want to change the ping interval, do so in the <pingMachine> node.

To set ping interval to 20 seconds:

	<pingMachine pingInterval="20">
		<!-- Other lines of configuration -->

Last edited Aug 23, 2010 at 4:33 PM by weiwong, version 4


No comments yet.