Check File for Contents then Send Email (without mailtools)
A simple BASH script that you can run as a CRON job to check if a particular string is present in a file, and if not it sends you an email to say the file no longer has a particular string. And the email send just uses sendmail (assuming that is installed and configured). You […]
More...