I am new to shell scripting. How would I write a script which can send an alert mail if there is no entry in the log file for more than 3 hours.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
A bit convoluted, but it works:
Call the script with the filename as the only argument. |
|||||||||||||
|