Hi all, I am setting up a backup process for an application. This application provides a backup.bat file, but it changes automatically when updated and I am worried staff may not notice. So I want to implement a file validation into the VC job itself to prevent the backup from running and to throw an email error (we automatically turn them into tickets).
I can think of a couple of ways that may work, but they seem very haphazard or overly complicated. Do you guys have any ideas on a simpler way to accomplish this?
- Get checksum of batch file
- Compare to stored checksum
- If different, throw job error (job errors are configured to send emails to our automated ticket process)
- if same, run the batch file
Thanks ya'll and any help is appreciated.