# 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://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="https://871593382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVpfZZVBPNE9yhbxEmlqY%2Fuploads%2F9IRcZIjBGIFVnWnknAUy%2Fimage.png?alt=media&#x26;token=a5e368ea-44ca-4d8b-8b35-374b95d29fa3" alt=""><figcaption><p>Creation of an assigned schedule</p></figcaption></figure>

<figure><img src="https://871593382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVpfZZVBPNE9yhbxEmlqY%2Fuploads%2FxhvB6gjIDwuOfl4S0PVG%2Fimage.png?alt=media&#x26;token=c4bf92e7-9a58-4cb2-ad7f-cb704497ec97" 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="https://871593382-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVpfZZVBPNE9yhbxEmlqY%2Fuploads%2FvqnVplDUw9olK7UJ0npX%2Fimage.png?alt=media&#x26;token=a3bb26c3-23cf-447e-92ca-f891805ef527" alt=""><figcaption></figcaption></figure>
