You are here:

MonitorTools.com > Featured Product: ActiveXperts Network Monitor > Scheduled Task monitoring monitoring

Monitor Scheduled Task Job completion

ActiveXperts Network Monitor is a software solution you need to scan your network servers, workstations and devices for failures or irregularities. With ActiveXperts Network Monitor, you can identify issues and fix unexpected problems before your others even know they've happened.
ActiveXperts Network Monitor maximizes network availability by monitoring all aspects of your servers, workstations, switches, routers, printers and any other devices. It can also detect temperature, humidity and other environmental aspects in your server rooms.

With the ActiveXperts Scheduled Task check, one can check if a scheduled task has completed successfully or not. You can run it against any task that should run today.

An ActiveXperts Scheduled Task check requires the following parameters:

  • Scheduled Task Log File - The fully qualified path name to the Scheduled Task Log File (SchedLgU.txt), in UNC format; for instance: \\Server01\C$\Windows\Tasks\SchedLgU.txt. Please note that this file is hidden in the Windows Explorer. Use a command prompt and type DIR C:\WINDOWS\TASKS to list the file;.
  • Job Name - Job name, as it appears in the SchedLogU.txt file. For instance, job name should be mytask.bat according to the following log entry:
         "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.

Screenshot:

 (Click on image to enlarge)