#!/bin/sh
# This script cleans up the files that can be left behind when managed logs email notification fails.
# If the managed logs files are not removed system resources are lost and subsequent managed logs notifications 
# will continue to fail. 100411 Ross  
echo "STATUS: removing get logs files ..."
cd /mnt/ramdisk

# Now removed any get logs fifos, zipped log files, and the get logs in progress file.  
rm -f *.logs
rm -f *.zip
rm -f /mnt/ramdisk/is.getlogs
echo "STATUS: get logs cleanup exit ..."

exit 0