Automatic checking of web addresses

The application checks the Internet addresses from the list. If one is not actively sending an notification email

Requirements

Python3

Installation

git clone https://github.com/pceuropa/PyEmailWebsiteDown.git

Configuration

Is in file config.py
 sites = [
	'https://pceuropa.net/',
	'https://example.com',
]

smtp = {
	'server': 'smtp@example.com:587',
	'login': 'info@example.com',
	'password': 'pass',
	'From': 'info@example.com',
	'to': 'info@example.com',
} 

Usage

 python3 testurl.py 
You can set cron to check your websites on e.g. daily basis
  crontab -e 
add the line
 59 23 * * * python3 /path/to/PyEmailWebsiteDown/testurl.py 
Stars Follow @pceuropa

Create forms you bored?