Simple program to help monitor the presence of files made within the past 24 hrs. Originally meant to quickly help me verify the presence of backups. The program will then email the administrator the results of the search. The program must be manually entered into the Task Scheduler to work.
Currently there is no way to send through SMTP with authentication, which is kind of huge.
The program should also check size of the files, to make sure they are not empty.
There are two sample config files included in the project, BackupCheck.cfg and BackupCheckList.cfg.
to=adminalerts@yourcompany.com
from=backupCheck@yourcompany.com
mailserver=mail.yourcompany.com
checklist=c:\BackupMonitor\BackupCheckList.cfg
Z:\Backups\Servers\AD\c *
Z:\LinuxStaging\image1\home\backups\mysql *dump.gz
First one means check that path on Z: for any file.
The seconds one means check that path on Z: for files ending in dump.gz