From 2e1e5b919ad6238c3ac0f2c1a0a214e62eb2d29a Mon Sep 17 00:00:00 2001 From: jodmz521 Date: Thu, 2 Apr 2026 10:38:40 -0400 Subject: [PATCH] Updated readme --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index e69de29..ae1fd5e 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,25 @@ +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. \ No newline at end of file