<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WorkoutKit",
  "identifier" : "/documentation/WorkoutKit/WorkoutScheduler/schedule(_:at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WorkoutKit"
    ],
    "preciseIdentifier" : "s:10WorkoutKit0A9SchedulerC8schedule_2atyAA0A4PlanV_10Foundation14DateComponentsVtYaF"
  },
  "title" : "schedule(_:at:)"
}
-->

# schedule(_:at:)

Schedules the provided workout at the specified date.

```
final func schedule(_ workout: WorkoutPlan, at: DateComponents) async
```

## Parameters

`workout`

The workout to schedule.

`at`

Date components that represent the workout’s starting time.

---

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)