Warm up Azure Website with Pi

Azure websites are a great perk of MSDN or Dreamspark subscriptions both of which I have.

Indeed this BLOG is powered by Azure sites. However if it is not accessed after twenty minutes, then the next visitor will be left waiting for the site to come up again. If this was a commercial site or the visitor was a spider, then this could prove disastrous.

I did look at web jobs for this, but there isn't enough capacity there on the free subscriptions to access the sites continuously over the month.

So I dusted off a Raspberry Pi model B and set to setting up a cron job to perform a simple wget request to the site every nineteen minutes.

I used the XBIAN distro, configured exim email and setup a cron job using

this works well.