用于签入站点url的python程序
site_pinger的Python项目详细描述
版本号:0.4.0 作者:Arsen Khalilov
概述
用于签入站点url的python程序。
对于与cron一起运行的定期ping站点。
安装
要安装,请使用pip:
$ pip install site_pinger
或者克隆回购协议:
$ git clone https://github.com/assigdev/site_pinger.git
$ python setup.py install
用法
首先需要conf ini文件:
$ site_pinger_conf
然后运行程序
$ site_pinger
使用conf in标志运行
$ site_pinger -c path_to_conf_file
标志
- optional arguments:
-h, --help show this help message and exit -t TIMEOUT, --timeout TIMEOUT time out for async tasks -l LOG, --log LOG log file path -d, --debug debug logging -e, --email receiver email -c CONFIG, --config CONFIG config file path --email-header EMAIL_HEADER header for email
贡献
待定