Thanks to the switch from explicitly sending mail to relying on cronie,
I (hopefully) discovered the cause of a long occurring problem with curl
that was causing false positives with version checking. When curl
output was piped to grep, grep (for some reason) was not reading the
full output, causing curl to return an error "(23) failed writing body
pipe". This was fixed by saving curl output to a variable an piping that
to grep.
Mutt is having an issue when being run from cron. It hangs and consumes
mass quantities of CPU, this stacks as subsequent calls by cron (every
ten minutes in my case) also hang. I don't feel like spending hours upon
hours trying to debug mutt, so I have disabled it's usage for the
scraper.sh script since it is trivial to setup cronie to use msmtp.
This script will scrape the various webpages tied to the archzfs repository to
monitory specific data points and send an email notifcation when they have
changed.