Fixed rate

Updated at:

Cron expressions do not support minute intervals that are not divisible by 60. For example, you cannot use a cron expression to run a task every 40 minutes. For this type of fine-grained scheduling, you can use the fixed-rate polling mechanism. This mechanism uses simple expressions to run tasks at non-standard intervals but does not support second-level precision.

Example of a fixed-rate configuration

You can configure fixed-rate scheduling when you create a scheduled task. For the complete procedure, see Create a scheduled task. This topic describes only how to configure the fixed-rate scheduling options.

  1. Go to the Timing Configuration tab. For more information, see Create a scheduled task.

  2. On the Timing Configuration tab of the Create Task wizard, set the scheduling parameters and then click Next.

    创建任务-定时配置-Fixed_rate

    1. From the Time Type drop-down list, select fixed_rate.

    2. For Fixed Frequency, enter the execution interval.

      Note

      The fixed frequency interval must be greater than 60 seconds.