product icon

How to Create a Custom Task for Mac

Use a custom Mac task to execute a set of complex administrative actions that require multiple resources and commands.

Before you begin:
Who can use this feature? The One2Many feature is available for the following:
Basic/Plus/Premier Subscription Modular Subscription User Permissions
  • Premier
  • Automation
  • Create and Modify One2Many tasks
  • Run One2Many tasks
Important: This type of task can only be deployed to Mac hosts.
  1. In Central, go to the One2Many > Tasks page.
  2. Click Create Task.

    Result: The Create Task page is displayed.

  3. Under Select for Mac select Custom Mac.
  4. Name the task in the Task name field.
    Since you may end up with many saved tasks, be sure to use a clear and specific name.
  5. To locate and upload resources required to complete the task, click Browse....


  6. If required, type a Command to execute.
    Tip: Click the variables link to see a list of environment variables you can use in a command.
    Remember: You cannot use One2Many to reboot a computer; therefore, remote commands and custom tasks cannot contain reboot commands.
  7. Type a Successful exit code if the command you run returns a custom value on successful execution. This value is zero by default.
  8. Choose whether to assign a plan now, or later:
    • To save your task and create a new plan that will be used to run the task, click Save and continue
    • To save the task without assigning a plan, click Save and close (you will be able to assign a plan later)
What to do next:
Tip: Once you have assigned a task to a plan and have run the plan, you can monitor progress and view logs on the One2Many > Plans page. You can view logs for completed tasks on the One2Many > History page.
Article last updated: 27 September, 2022