This is to monitor whether or not the webpage is updating or not. Currently runs on one IP Jake's desktop)/
Go to file
2026-04-08 13:54:37 -04:00
.gitignore maintenance 2026-04-08 13:54:37 -04:00
README.md Updated readme 2026-04-02 10:38:40 -04:00
README.txt Initial Upload 2026-04-02 10:34:17 -04:00
sendEmailAlert.sh Initial Upload 2026-04-02 10:34:17 -04:00
sendEmailAlertPython.py Initial Upload 2026-04-02 10:34:17 -04:00
WebPageUpdateChecker.py Initial Upload 2026-04-02 10:34:17 -04:00

READ ME FOR WEBPAGE UPDATING CHECKER CREATED BY JACOB DAVIS 1/7/2026

This is a set of scripts that will check the the date and time published on the Clarion02 webpage. If the time has not updated in 15 minutes, it will send an email to the sender list held in the sendEmailAlert.sh file.

Before running, make sure the appropriate mail utilities are installed.

sudo apt install mailutils

You will also need the msmtp packages

sudo apt install msmtp msmtp-mta

Next, copy the .msmtprc file to your home directory. It is a hidden file, so if you don't see it in the folder, check that you can see hidden files.

AFTER .msmtprc file is in your home directory, give it appropriate security permissions with:

chmod 600 ~/.msmtprc

Next, make sendEmailAlert.sh an executable with (instide the WebPageChecker folder)

chmod +x sendEmailAlert.sh

Finally, run the script with

python3 WebPageUpdateChecker.py

Other files: There is an email sending script using python that is a bit more complicated but will work as well if you'd rather use that. Just change the subprocess.run() line in the main script.

Other info: This is all being handled through the gmail account I set up specifically to recieve Clarion Alerts. It may be worth changing that to some other address. If that is done, we will need to edit the .msmtprc file.