SIEM, Vulnerability Scanning, Server Monitoring and Compliance Training for IT Professionals
Table of Contents

Task Scheduler Template

The Task Scheduler Template enabled you to start, stop or restart an application (e.g. Launch a process that sends a batch of emails).

When configured as an agent template, the Task Scheduler Template enables you to upload an installer then execute (e.g. Install an application).

This template is typically used by systems administrators to run utilities and batch files on a schedule as well and deploy applications to managed servers.

When run without the agent, the Task Scheduler Template uses Windows Shares to optionally upload the executable then WMI to remote execute. When run through the agent, local APIs are utilized.

How to configure the Task Scheduler Template:

  • From the Menu Bar, select File | New. The Create New Object View displays.
  • From the Create New Object View, expand Templates | Windows Monitors then select Task Scheduler. The New Template Properties View displays.
  • The Template Properties view contains 4 tabs.

The Options Tab

  • Use the Windows server or workstation check box and corresponding drop-down to select the host you want to start, stop or restart the executable on.
Note
Once selected, the host is automatically assigned to this template.
  • Use the Function drop-down to select to either Start, Stop or Restart the executable.
  • Use the Executable drop-down to select the target executable or click the Browse Browse Button button to select the target file.
  • Use the Arguments text box to specify command-line arguments. Use the Variable Variable Button button to specify variables you would like to include in the arguments (e.g. {HOST}).
  • Check the Upload option to upload the file to the remote host then execute locally on the remote host rather than through a UNC admin share path.
Note
Check this option to remote install software, for example, to distribute and install the .Net 7 Desktop Runtime on all managed servers.
  • Check the Wait option to wait for the process to complete.
Note
Use this option when executing processes or scripts that must complete before the next sequence is executed, for example, when backing up files that are locked during process execution.
  • Click the Test button to verify the template is configured property and the monitor executes as expected.
  • Finally, select the General Tab, then click the click the Auto-Generate Name Auto-Generate Name Button button to auto-generate a name based on the configured settings.
Task Scheduler Template Properties View
Task Scheduler Template Properties View

Related Topics

Windows Monitor Templates