Skip to content
This repository has been archived by the owner on Nov 16, 2019. It is now read-only.

Latest commit

 

History

History
36 lines (23 loc) · 914 Bytes

README.md

File metadata and controls

36 lines (23 loc) · 914 Bytes

website-poller

website-poller polls websites specified at ~/.websitepollerrc (JSON) and alerts using system notifications should some website fail to respond properly.

Define your ~/.websitepollerrc like this:

{
    "user-agent": "Koodilehto Website Poller",
    "websites": [
        "http://www.github.com",
        "http://www.google.com"
    ]
}

Installation

Linux

Change the paths at ./install.sh and run it, or add the crontab entry yourself: @hourly DISPLAY=:0.0 /path/to/websitepoller > /dev/null

Make sure you have python-notify2 installed in order for the notications to work.

OS X

Make sure you have Growl and growlnotify installed. Otherwise Linux instructions apply.

Windows

No official support at the moment. Feel free to contribute.

License

MIT. See LICENSE for more information.