Distributed task scheduling workflow

Figure-1 and Table-1 show the distributed task scheduling workflow and the description for the workflow.

Figure-1 Application orchestration workflow

 

Table-1 Distributed task scheduling workflow

Procedure

Description

Add an executor

The scheduling center is built in the PaaS platform. You only need to add executors and register the executors to the scheduling center.

Add a task

To add a task, bind an executor and configure the parameters required for task execution, including the task operation mode, executor failover, block handling, task timeout, and email addresses for receiving alarms.

The source code for a bean-mode task is maintained in the executor. Therefore, before adding a bean-mode task, you must first develop the source code, and then specify it when you add the task.

Develop a glue task online

The source code for a glue-mode task is maintained in the scheduling center. Therefore, you can add the task first, and then develop the task source code online through WebIDE. Supported languages include Java, Shell, Python, NodeJS, PHP, and PowerShell.

Run a task immediately or as scheduled

After a task is configured, you can trigger an immediate execution of the task, or start the task to execute the task as scheduled.

View the scheduling log

View scheduling log information, including the task scheduling/execution time, result, and execution description.