Help Center/ Application Operations Management/ FAQs (2.0)/ O&M Management (Retiring)/ Why Is a Parameter Error Displayed When I Create a Scheduled Task Using a Cron Expression?
Updated on 2024-04-11 GMT+08:00

Why Is a Parameter Error Displayed When I Create a Scheduled Task Using a Cron Expression?

Symptom

When a scheduled O&M task is created using a cron expression, the system shows that there is a parameter error.

Possible Causes

  • The cron expression does not comply with the Spring cron syntax.
  • The interval for triggering a scheduled task is less than 30 minutes.

Procedure

  1. Ensure that the cron expression complies with the Spring cron syntax.
  2. Ensure that the interval for triggering a scheduled task is greater than or equal to 30 minutes.