Management and Security

Assigning targets to a task

Once you've added a script to the Scheduled tasks pane, it becomes a task that you can assign targets to by dragging them from the network view onto the task. Targets can include individual devices, device groups, LDAP objects, LDAP queries, and inventory queries. Queries and groups are powerful options that enable you to have a dynamic list of devices that can change for recurring tasks. For example, as the device target list from a query changes, any tasks using that query automatically target the new devices in the list.

If a device is targeted more than once, such as when two target queries have overlapping results, the core server detects the duplication and won't run the task multiple times for the same device.

When using queries to select task targets, the query doesn't run until the task has started. The Scheduled task properties dialog won't show the target devices until after the task is launched.

You can also add targets directly from the task properties Targets page. Targeting from this page gives you a single point of access to all available target types and possible targets. Just select the target type you want and click Add.

Additional task information


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other