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.

Applying scope to tasks

Multiple Endpoint Manager users can add targets to a scheduled task. However, in the Scheduled tasks pane, each Endpoint Manager user will only see targets within their scope. If two users with scopes that don't overlap each add 20 targets to a task, each user will see only the 20 targets they added, but the task will run on all 40 targets.

Selecting targets for your task

Each task needs a set of targets to run on. Tasks can have two types of targets—static and dynamic:

  • Static targets: A list of specific devices or users that doesn't change unless you manually edit it. Static targets can be LDAP users or devices from Directory Manager or devices from the console's network view.
  • Dynamic targets: A dynamic list of target devices that policy-based distribution tasks check periodically for any changes. As new devices meet the query criteria, recurring tasks using those queries get applied to the new devices. Dynamic lists include query results and LDAP groups/containers or network view groups.

You can specify static policy targets in these ways:

  • Network view devices: A static set of devices from the core database.
  • LDAP users or devices: A static set of user and/or device objects.

You can specify dynamic policy targets in these ways:

  • Network view group: A dynamic set of devices from the core database.
  • LDAP group/container: A dynamic set of user, device, or group objects.
  • Database query: A set of devices generated by a query against the core database.
  • User group: A group of users selected from an LDAP-compliant directory.
  • LDAP query: A set of users, devices, or both, generated by a query on an LDAP-compliant directory.

Was this article useful?    

The topic was:



Not what I expected