Test job to altert if data file is 30 days

February 11, 2011 at 04:16:34
Specs: unix
Test job to altert if data file is < 30 days old.
a) If < 30 days old , script should send email to team Tech.
This script will be scheduled by control M.


plz help me out regarding this script plz mail me kolachina.srivani@gmail.com


See More: Test job to altert if data file is 30 days

Report •

#1
February 14, 2011 at 20:48:13
Any executable script should work under Control M (I assume that you are talking about the BMC product). So I would suggest you look at the find command with the -mtime option. Pipe your output to mailx or whatever mail program you have installed (or if Control M has a facility for doing so, have it do the mailing). I'm not familiar with the Control M product but the script you want is real easy to write. You can find an example if you search this forum.

Report •
Related Solutions


Ask Question