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

# Scheduling

<Card title="Module: Schedules" icon="bell" horizontal="True">
  Scheduled channel cloning or deletion for up to 7 days, or a repeating cycle.
</Card>

## Creating a schedule

<Tabs />

Create a **new** channel nuke. Choose between cloning or deleting, and set a time.

<CodeGroup>
  ```javascript syntax theme={null}
  ,nuke add (channel) (time) (clone/delete)
  ```

  ```javascript example theme={null}
  ,nuke add 1314178127647215626 12h delete
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/AalZmPvrgh2Es8UR/images/n-add.png?fit=max&auto=format&n=AalZmPvrgh2Es8UR&q=85&s=e06466044f09ff64fecc087e9f702840" width="456" height="136" data-path="images/n-add.png" />
</Frame>

## Remove a schedule

<Tabs />

Remove a schedule, this will **permanently** remove it and it cannot be restored unless a new schedule is created.

<CodeGroup>
  ```javascript syntax theme={null}
  nuke remove (channel)
  ```

  ```javascript example theme={null}
  nuke remove 1314178127647215626
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/AalZmPvrgh2Es8UR/images/n-rem.png?fit=max&auto=format&n=AalZmPvrgh2Es8UR&q=85&s=c7354d5cfe11f07b8236352f11ed07f1" width="292" height="134" data-path="images/n-rem.png" />
</Frame>

## Editing a schedule

<Tabs />

Editing the schedule allows you to adjust it's **time** and **action**. To do it, run the following command:

<CodeGroup>
  ```javascript syntax theme={null}
  nuke edit (channel) (time) (clone/delete)
  ```

  ```javascript example theme={null}
  nuke edit 1314178127647215626 5h clone
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/AalZmPvrgh2Es8UR/images/n-edit.png?fit=max&auto=format&n=AalZmPvrgh2Es8UR&q=85&s=641f7a12ab45ef28c8f44385c86262ab" width="432" height="128" data-path="images/n-edit.png" />
</Frame>

## Viewing the list of schedules

<Tabs />

To view all the current nukes, run `nuke list`

<CodeGroup>
  ```javascript syntax theme={null}
  nuke list
  ```
</CodeGroup>

<Frame>
  <img src="https://mintcdn.com/kyos-c60486ad/AalZmPvrgh2Es8UR/images/n-list.png?fit=max&auto=format&n=AalZmPvrgh2Es8UR&q=85&s=e8bb563e68e8d34c1aff1984878ddf54" width="276" height="196" data-path="images/n-list.png" />
</Frame>
