Home  >  Article  >  Operation and Maintenance  >  Scheduled task settings for the Pagoda panel

Scheduled task settings for the Pagoda panel

WBOY
WBOYOriginal
2023-06-21 08:55:454727browse

Pagoda Panel is a management panel for Linux servers. It provides an integrated management interface for services such as Web servers, databases, FTP, etc., allowing users to quickly complete configuration and management work. The scheduled task is one of the important functions of the Pagoda Panel. During the use of the web server or other services, it can provide us with the important function of regularly executing scripts or other operations. This article will introduce how to set up scheduled tasks for the Pagoda Panel.

1. Log in to the Pagoda Panel

First, we need to enter the Pagoda Panel management page. Enter the server IP address or domain name plus ":8888" in the address bar of the browser, press Enter and enter the account password to log in to the pagoda panel.

2. Enter the scheduled task page

After logging in successfully, on the homepage of the Pagoda panel, find the "Scheduled Task" option in the left menu bar to enter the scheduled task page. In this page, we can view, add, edit and delete scheduled tasks.

3. Add scheduled tasks

In the scheduled task page, we can click the "Add" button on the upper right side to jump to the page for adding scheduled tasks. Here, we need to fill in the following information:

  1. Task name: Customize the planned task name to facilitate our subsequent management and search.
  2. Execution cycle: You can choose every minute, hourly, daily, weekly, monthly and other cycles.

3. Execution time: The specific execution time point of each cycle.

  1. Command to be executed: shell command or script file path to be executed.

For example, if we want to perform a scheduled backup database operation, the command is:

/usr/bin/mysqldump -u 用户名 -p密码 数据库名 > 备份文件.sql

After we fill in the above information, click the "Add" button below to complete the scheduled task addition.

4. Edit scheduled tasks

In the scheduled tasks page, we can also edit the tasks that have been added. Find the task you want to edit and click the "Edit" button on the right to enter the editing page. In the edit page, you can modify the task name, execution cycle, execution time, execution command and other information. After completing the modification, click the "Save" button below to complete the editing operation.

5. Delete scheduled tasks

If we need to delete a scheduled task, we can find the task that needs to be deleted on the scheduled tasks page, and click the "Delete" button on the right to delete it. Task. When deleting a task, the system will prompt whether to confirm the deletion. Select Yes or No as needed to complete the deletion operation.

6. Check the scheduled task log

During the execution of the scheduled task, we can understand the execution of the task by checking the system log. In the Pagoda panel page, click the "Log" option in the left menu bar to enter the system log page. On this page, you can choose to view the execution status of the task, and filter related log information based on time and level.

In summary, through the introduction of this article, I believe that everyone has a deeper understanding of the scheduled task settings of the Pagoda Panel. We can set up corresponding tasks according to our own needs to automatically manage and maintain the server and improve work efficiency.

The above is the detailed content of Scheduled task settings for the Pagoda panel. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn