Quantcast
Channel: Symantec Connect - Storage Foundation for Windows - Discussions
Viewing all articles
Browse latest Browse all 108

How do I add an email alarm to my batch file?

$
0
0
I need a solution

I am running SFWHA5.1sp2. I have a script that runs every morning with no problems. I would like to add a line at the end of the batch file that would send me a email and saying whether there were any errors. There is no email servers on my network and I was hoping to use port25/SMTP. I had someone tell my to use Blat but I have not been able to get it to work. Is there somthing already built into SFW that will do this?

This is what my script looks like.

vxassist -g AvMailDiskGroup remove Monday plex=Monday-01
vxassist -g AvMailDiskGroup snapback Monday
vxassist -g AvMailDiskGroup snapshot AvMailVolume plex=AvMailVolume-03 access=readonly DriveLetter=E Monday
vxassist -g AvMailDiskGroup mirror Monday

7444711
1345227840

Viewing all articles
Browse latest Browse all 108

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>