Wednesday, February 27, 2013

Clean up old backup files.

For clean up old backup files.

cat  /backup/

#find /backup/scripts -type d -mtime +10 -name "2009*" -exec rm -rf {} \;
find /backup/scripts/201* -type d -mtime +10 -exec rm -rf {} \;

mail -s "Daily Report for `hostname`" < /home/shrikant/daily_report/D_Report_$(date +\%d\%b\%y-\%H%M).txt

mail -s "Hourly Check Result of `hostname` " < /home/shrikant/daily_logs/oraprod_$(date +\%d\%b\%y-\%H\%M).txt

mail -s "Syslog check of `hostname`" <  /home/shrikant/chksyslog/oraprod1_$(date +\%d\%b\%y-\%H\%M)


khan mohammad said...

Hello !!

It was a great honour to have you in our Commient. And you are more than welcome back at any time....

Happy Job!!!
Visits My sites>Meditation uk

shanta islam said...

Blog and blog would be of advantage, Thank you for providing information about the update.
Meditation Blogs