Contact Info

Crumbtrail

ActiveXperts.com » Network Monitor » Checks » Windows OS » Scheduled Task

Monitor a Scheduled Task on a remote Windows machine | ActiveXperts Network Monitor

ActiveXperts solution to monitor Scheduled Tasks

With the Scheduled Task check, one can check if a scheduled task has completed successfully or not. A Scheduled Task check can only be applied to a task that should run today. I.e. you cannot check the completion of a task that ran - for instance - yesterday.

Windows Scheduled Task Check

[click below to enlarge]

Statistics

[click below to enlarge]

A Scheduled Task check requires the following parameters:

"mytask.job" (mytask.bat)
Finished 1/19/2006 1:43:00 PM
Result: The task completed with an exit code of (0).
  • Completed Keyword - The keyword that determines the completion of a scheduled task. For many servers, the keyword will be Finished. However, the keyword can be different on non-English Operating Systems you are monitoring;
  • Today's Date Format - The string that determines the date format used in the Scheduled Task Log File. Note that your network servers can use different time formats. For that reason, you must specify the date format, so Network Monitor will be able to find the log entries that match the day of today. Default format: mm/dd/yyyy, i.e. month (2 digits), day (2 digits), year (4 digits), separated by a '/';
  • Match Result - The string that indicates a successful/unsuccessful completion of the task. A successful completion is usually determined by the following string:
    Result: The task completed with an exit code of (0);
    

    An unsuccessful completion is usually determined by the following string:

    Result: The task completed with an exit code of (1);
    

    Note that the string can be different on non-English platforms and on legacy (e.g. Windows NT 4) platforms;

  • If pattern matched, result is - Indicates the result of the check if pattern is matched: Success or Error.