Requires use of several packages including:
- cURL
- mailutils
- libnotify-bin.
Parameter 1:
- twitter username
Parameter 2:
- e-mail address to send notifications to.
Set permissions:
chmod a+x pagechecker.sh
Run:
./pagechecker.sh foxnews example@example.com
The following link is useful for configuring Postfix to use Gmail SMTP (Simple Mail Transfer Protocol):
http://askubuntu.com/questions/522431/how-to-send-an-email-using-command-line#answer-522434