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
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.
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |