1. First of all check the intervals in which the logs are getting updated (say 5 mins )
schedule the following script in cron every 5 mins if your script gets updated within 5 mins to send an alert mail in case it is not getting updated .
Note :- Please check out for mistakes in the script , i just type it in there .
#!/bin/bash
#######################################START OF SCRIPT##########################################
logfile=SPECIFYNAME
if [ -f /tmp/acctime ]
then
acctime=`cat /tmp/acctime`
fi
newacctime=`ls -ltr | awk '{print $8}' $logfile`
echo $newacctime > /tmp/acctime
if [ $acctime=$newacctime ]
then
echo "Please check logs or whatever message" | mailx -s "Log files update message"
receiver@abc.com
fi
####################################END OF SCRIPT#################################