I'm running Windows Server 2012 on my work's server and running the Windows Backup application daily. I want to receive email notifications notifying me of the success or failure of this backup and in researching how to achieve this, I figured one of the best ways is to set up two batch files which run BLAT.exe and generate the appropriate emails.
I have configured the success batch file to run on event ID 4 within the Microsoft Windows Backup/Operational log and the failure batch file to run on event IDs 5, 9, 17, 22, 49, 50, 52, 517, 518, 521, 527, 528, 544, 546, 561 and 564 within the Microsoft Windows Backups/Operational log.
If I run these batch files manually the emails are sent and received successfully.
But I am not receiving them automatically when triggered by the aforementioned events.
What's puzzling me is that the history tab of each triggered task shows them as having run successfully. I have checked my junk emails and they're not in there either.
Does anyone have suggestions or things I can check? Thanks.