- Notifications
You must be signed in to change notification settings - Fork2
Monitoring the availability of URL's | Free Website Monitoring | Raport to email.
License
NotificationsYou must be signed in to change notification settings
pceuropa/PyEmailWebsiteDown
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
App send email notification if your website is down.
This application requirespython3
- Set the list of URLs to check (configuration is config.py)
- Set the mail server configurations
Example
sites = ['https://yii2-menu.pceuropa.net/','https://pceuropa.net',]smtp = {'server': 'smtp@example.com:587','login': 'info@example.com','password': 'pass','From': 'info@example.com','to': 'info@example.com',}
- Verify the configuration
python3 testurl.py
- Setcron to check your websites on e.g. daily basis
crontab -u username -e
add the line
@daily python3 /path/to/PyEmailWebsiteDown/testurl.py
About
Monitoring the availability of URL's | Free Website Monitoring | Raport to email.
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published