# How to create a task?

Setting up scheduled tasks is essential to automate processes and ensure specific actions are executed at the right time. With [HidenCloud](https://docs.hidencloud.com/hidencloud-panel/www.hidencloud.com), you can create and manage scheduled tasks directly from the panel to streamline your operations.

## <mark style="color:blue;">Creating Schedule Tasks</mark>

* **Access the** [**HidenCloud Panel**](https://dash.hidencloud.com/dashboard)\
  Log in to your account and select the project or server where you want to configure the task.
* **Navigate to the Scheduling Section**\
  In the left sidebar, go to \[*Management*] > \[*Schedules*].
* **Configure a New Task**
  * Click the \[*Create Task*] button and fill in the following fields:
    * **Task Name**: Specify a name to identify the action.
    * **Frequency**: Choose when and how often the task should run (e.g., hourly, daily, or on a custom schedule).
    * **Command or Action**: Define the command or action to execute, such as custom scripts, server restarts, or clearing temporary data.
    * **Notifications**: Enable notifications to receive alerts when the task completes or fails.

<figure><img src="/files/8rz26VW6qdUlSRE702NI" alt=""><figcaption><p>Creation of an assigned schedule</p></figcaption></figure>

<figure><img src="/files/Bnl4kW1TUgpX7AiY9LGS" alt=""><figcaption><p>Assignment of a created schedule</p></figcaption></figure>

***

## <mark style="color:blue;">Edit or Delete Scheduled Tasks</mark>

1. **Access the** [**HidenCloud Panel**](https://dash.hidencloud.com/dashboard)\
   Log in and select your project.
2. **Navigate to Scheduled Tasks**\
   Go to \[*Management*] > \[*Schedules*].
3. **Locate the Task**
   * To **edit**, click the \[*Edit*] button, make the necessary changes, and save.
   * To **delete**, click the red trash icon and confirm the action.

{% hint style="warning" %}
Be cautious when deleting a scheduled task, as some automated actions might stop running and impact your operations.
{% endhint %}

***

## <mark style="color:blue;">View Tasks History</mark>

HidenCloud logs each execution of scheduled tasks, allowing you to monitor their performance and troubleshoot issues if necessary.

1. **Access the Scheduled Tasks Section**\
   Go to \[*Management*] > \[*Schedules*].
2. **View Execution Logs**
   * The task list displays:
     * **Date and Time** of each execution.
     * **Status** (e.g., completed, failed).
     * **Error Details**, if applicable.

<figure><img src="/files/5qHRg75lwybQH2qEhXAv" alt=""><figcaption></figcaption></figure>


---

# 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.hidencloud.com/hidencloud-panel/how-to-create-a-task.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.
