# 排程管理

{% hint style="success" %}
本篇網頁在伺服器的 「排程管理」 頁面。
{% endhint %}

## 創建排程與任務

### 1. 進入排程管理，點擊 「創建排程」。

<figure><img src="/files/X6QzSwDvFzuRIcBrURTN" alt=""><figcaption></figcaption></figure>

### 2. 輸入排程名稱與時程，並創建排程。

時程可以參考 <https://cron.help/> 網站，一個可以生成時程的網站。\
\
或是參考以下範例：

```
#每 10 分鐘執行
*/10 * * * *

#每天早上 8 點 30 分執行
30 08 * * *

#每天下午 6 點 30 分執行
30 18 * * *

#每週日下午 6 點 30 分執行
30 18 * * 0

#每年 6 月 10 日早上 8 點 30 分執行
30 08 10 06 *

#每月 1 日、15 日、29 日晚上 9 點 30 分執行
30 21 1,15,29 * *

#早上 9 點至下午 6 點，每整點執行
00 09-18 * * *
```

<figure><img src="/files/xtWS4Z8Dr4NeMFY8nqTh" alt=""><figcaption></figcaption></figure>

### 3. 進入排程

<figure><img src="/files/rGXu575IKcGiWN2yoizR" alt=""><figcaption></figcaption></figure>

### 4. 點擊右上角三個點，創建新任務。

<figure><img src="/files/e0EolhA5RoxdPcsFgQNc" alt=""><figcaption></figcaption></figure>

### 5. 選擇要執行的任務，並創建任務排程。

<figure><img src="/files/zQMX8LpLkFAJSj0jhVew" alt=""><figcaption></figcaption></figure>

### 5. 完成創建任務

這樣此任務就會在指定時程執行。

<figure><img src="/files/DdTazjfzk3lciunQqBLa" alt=""><figcaption></figcaption></figure>

## 常見問題

<details>

<summary>為什麽排程沒有在指定時間創建備份？</summary>

請先確認伺服器有足夠的備份空間，如果沒有購買備份數量，請先至客戶中心加購。

</details>

<details>

<summary>為什麼排程沒有執行？</summary>

請先確認時程有沒有設定正確，如果還是無法執行，請洽詢客服中心。

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cheapserver.tw/panel/server/schedules.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
