> ## Documentation Index
> Fetch the complete documentation index at: https://docsv4.mile.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Cycle

> Create a task every few days, weeks or months.

**Custom cycle** repeats the schedule at an interval you set. For example, to service a machine every 2 months, set the schedule to repeat every 2 months.

<div align="center">
  <img src="https://mintcdn.com/mileappv4/WSCQrzxOhh4WLfZT/images/v4/planning/schedule/repeat-custom.png?fit=max&auto=format&n=WSCQrzxOhh4WLfZT&q=85&s=4649017c5f075968567bf6d5d9b65fcd" alt="Custom cycle" width="600" data-path="images/v4/planning/schedule/repeat-custom.png" />
</div>

1. **Repeat**: choose **Custom cycle**.
2. **Repeat every**: a number from 1 to 99 and a unit: **Days**, **Weeks** or **Months**.
3. **Times of day**: the time a task is created in each interval. With **Weeks** you also choose the weekday of each time, and with **Months** the day of the month. Click **Add a time** to add more.
4. **Active from / Active until**: the schedule only runs inside this period. If **Active from** hasn't arrived yet, the schedule isn't triggered. Once **Active until** has passed, no more tasks are created.
5. **Preview**: the dates the cycle actually runs on, inside the active period, so you can check the schedule before saving it. Up to the first 60 dates are shown.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.