We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc5c9b4 commit 7e00028Copy full SHA for 7e00028
monitor.sh
@@ -9,10 +9,10 @@ for (( ; ; )); do
9
curl $URL -L --compressed -s > new.html
10
DIFF_OUTPUT="$(diff new.html old.html)"
11
if [ "0" != "${#DIFF_OUTPUT}" ]; then
12
- sendEmail -f $USERNAME -s smtp.gmail.com:587 \
13
- -xu $USERNAME -xp $PASSWORD -t $USERNAME \
+ mail \
+ -t $USERNAME \
14
-o tls=yes -u "Web page changed" \
15
- -m "Visit it at $URL"
16
- sleep 10
+ -m 'Visit it at <a href="$URL">$URL</a>'
+ sleep
17
fi
18
done
0 commit comments