Skip to content

Scheduled Task

Scheduled tasks automatically execute scripts at specified times according to Crontab expressions.

Usage Steps

  1. Go to "Operations Management - Scheduled Task"
  2. Click "New Task"
  3. Fill in the task name and description
  4. Configure the Crontab expression (visual generator supported)
  5. Select the script to execute (script repository)
  6. Select the target host (only onboarded hosts are selectable)
  7. Save and enable

Crontab Expression

Standard five-field Crontab:

分 时 日 月 周
* * * * *

Examples:

Expression Description
*/5 * * * * Every 5 minutes
0 2 * * * Every day at 2 AM
0 9 * * 1 Every Monday at 9 AM

Task Management

  • Enable / disable tasks
  • View recent execution results
  • Manually trigger execution
  • Edit / delete tasks

Tips

  • The execution results of scheduled tasks also go into "Task History"
  • The executor is based on the run_user at the time the task was created