<!--
{
  "availability" : [
    "macOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/StatusServicesBackgroundTask",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rmdm-status:StatusServicesBackgroundTask"
  },
  "title" : "StatusServicesBackgroundTask"
}
-->

# StatusServicesBackgroundTask

The status item that reports the device’s background task details.

```
object StatusServicesBackgroundTask
```

## Discussion

### Status item availability

|||
|--------------------------------|-----|
|Allowed in supervised enrollment|macOS|
|Allowed in device enrollment    |N/A  |
|Allowed in user enrollment      |N/A  |
|Allowed in local enrollment     |macOS|
|Allowed in system scope         |macOS|
|Allowed in user scope           |N/A  |

### Status item example

**New or updated task:**

Reports a new or updated background task.

```json
{
    "services": {
        "background-task": [
            {
                "identifier": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
                "uid": 501,
                "path": "/Library/LaunchDaemons/com.example.daemon.plist",
                "state": "enabled",
                "type": "daemon",
                "launchd": {
                    "label": "com.example.daemon",
                    "program": "/usr/local/bin/example-daemon",
                    "program-arguments": [
                        "/usr/local/bin/example-daemon",
                        "--config",
                        "/etc/example/config.json"
                    ],
                    "checksum": "a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6"
                }
            }
        ]
    }
}
```

**Removed task:**

Reports a removed background task.

```json
{
    "services": {
        "background-task": [
            {
                "identifier": "A1B2C3D4-E5F6-7890-ABCD-EF1234567890",
                "_removed": true
            }
        ]
    }
}
```

## Topics

### Objects

[`object StatusServicesBackgroundTaskBackgroundTaskObject`](/documentation/DeviceManagement/StatusServicesBackgroundTaskBackgroundTaskObject)

The status item that reports a background task.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)