Appearance
Automated tasks
An automated task runs one or more scripts or shell commands on a schedule, once, on demand, or when something happens on a machine (boot, first onboarding, a failing check). Open Automation → Tasks to see every task in your organisation.
What a task can target
| Target | What it means |
|---|---|
| Single agent | The task runs on one machine. |
| Smart group | The task runs on every current member of a smart asset group (Settings → Asset groups). Membership is re-checked at every run, so machines joining or leaving the group are picked up automatically. Event triggers (boot, onboarding, check failure) are single-agent only. |
| Policy | The task comes from a policy. The policy keeps one copy per machine it applies to; you edit the task on the policy, not here. |
By task and By machine
The switch at the top of the page changes how the list is laid out. Your choice is kept in the page address, so you can bookmark or share it.
- By task (the default) shows one row per task. Single-agent and smart-group tasks appear as they are. A policy task appears once, however many machines it runs on, for example "BL Key · 648 machines".
- By machine shows one row per machine copy, the same flat list the page always had. Use it when you need the result on a particular machine.
Policy rows
In By task, a policy row shows:
- Last result as two counts, "X pass" and "Y fail". A count of zero is left out.
- Enabled as text: "On", "Off" or "On for N of M". The policy owns this, so there is no toggle.
- Open policy, which takes you to the policy to change the task.
- An expand arrow. It lists up to 10 machines where the task failed, each linking to the device. See all in By machine switches view and filters the list to that task.
Finding a task
- Type in Search name, machine or group. Search matches the task name, the machine's hostname, the smart group's name and the policy's name.
- Pick a target chip to narrow the list: All targets, Single agent, Smart group or Policy.
- Use Trigger and Last result to narrow further.
- In By machine only, Filter by machine shows one machine's tasks. It has no effect in By task, so a machine filter left over from an earlier visit never hides smart-group tasks.
- Click Clear filters to start again.
Editing, running and disabling a task
For single-agent and smart-group tasks, each row has:
- the Enabled toggle, to pause or resume the task;
- Run to run it now;
- History for past results;
- Edit to change its name, trigger, time or actions;
- Delete.
On a phone, these sit at the bottom of each task card. History and Delete are under the ⋯ button.
Adding a task
- Click Add Task.
- Choose a target: Single agent or Smart group. If you are in By machine with a machine filter set, that machine is already selected.
- Give the task a name and a trigger, add one or more actions, and save.
Group tasks elsewhere in OpsMerge
- Asset group page (Settings → Asset groups → a group): the Used by card lists every task that targets the group, with an Edit task button.
- Device page, Tasks tab: below the machine's own tasks, Inherited from smart groups lists the group tasks that reach this machine through its current group memberships. They are read-only here; View task opens the task's editor.
Both links open the Automated Tasks page with the task's edit dialog already open.
Common questions
- I can't find a task I made for a smart group. Clear filters, make sure you are in By task, and search for the group's name.
- A policy task shows "On for 600 of 648". Some machine copies are disabled. Change this on the policy.
- Why can't I pick an event trigger for a smart group? Boot, onboarding and check-failure triggers run on the agent itself, so they need a single agent.