在〜/ .websitepollerrc(JSON),並使用系統通知提醒指定網站輪詢民調網站應該有些網站無法正確響應。
定義你的〜/ .websitepollerrc是這樣的:
{
 “用戶代理”:“Koodilehto網站輪詢”
 “網站”:
 “http://www.github.com”
 “http://www.google.com”
 ]
}
安裝
改變路徑,在運行./install.sh並運行它,或添加crontab條目自己:@hourly DISPLAY =:0.0 /path/to/websitepoller.py>的/ dev / null的
請確保您有蟒蛇,notify2安裝,以使notications工作
要求:
- 在Python中
評論沒有發現