Well. We have an executable that uploads an xml-file to a webservices-site. When the upload experience different situations it returns f.ex. "PID=6546" or "PID=3232". It depends wether the file uploaded exists on the site from before or some other situation. The command itself returns OK because it runs and understands the different options. Since VisualCron actually returns a standard-output with this PID-number it should be fairly easy to program different notifications based on the PID-number in the standard output, or what?
It should be possible to write an VBS-script that increases errorlevel when different PID-numbers are returned, but that would introduce an extra point of failure I don't want. That's why I use VisualCron in the first place. To get rid of additional layers of failure and provide us with mail notifications when different things happen.