Background task management declarative configuration for Apple devices

macOS includes support for background tasks that either start on behalf of the user or run as a standalone process to provide persistent services in the background.

In macOS 15 or later, you can install executables, scripts, and launchd configuration files using a device management service, and store them in a secure and tamper-resistant location (similar to service configuration files), providing an easy way for organizations to deploy and control managed services.

The background task management configuration supports the following:

  • Minimum supported operating system versions and channels: macOS 15 device.

  • Requires supervision: Yes.

  • Supported enrollment methods: Device Enrollment, Automated Device Enrollment.

Setting

Description

Required

Task Type

The unique identifier of the set of background tasks managed with this configuration. This should be a reverse DNS style identifier. This is used solely by the management system to differentiate between tasks in different configurations.

Yes

Task Description

A description of the set of background tasks managed by this configuration.

No

Executable Asset Reference

Specifies the identifier of an asset declaration containing a reference to the files to be used for the background task configuration. The corresponding asset needs to be of type com.apple.asset.data. The referenced data needs to be a zip archive of an entire directory, that’s expanded and stored in a well known location for the background task. The asset’s ContentType and Hash-SHA-256 keys in the Reference key are required.

This file should contain background task executables, scripts, and configuration files, but not the launchd configuration files.

No

Launchd Configurations

An array of launchd configuration files used to run the background tasks.

No

Note: Each device management service developer implements these settings differently. To learn how various background task management settings are applied to your users, consult your developer’s device management service documentation.

Published Date: September 25, 2024
Morty Proxy This is a proxified and sanitized view of the page, visit original site.
Helpful?
Character limit: 250
Maximum character limit is 250.
Thanks for your feedback.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.