- Documentation
Volcengine Kubernetes Engine
Volcengine Kubernetes Engine
User guide
Workloads
Creating workloads
Cron expressions
Creating workloads
Cron expressions
Cron expressions
In Volcengine Kubernetes Engine (VKE), CronJobs use Cron expressions to specify the trigger time for Jobs. This topic describes the usage of Cron expressions adapted for VKE.
Cron schedule expressions
CronJobs use Cron expressions to specify the exact execution time for Jobs. The Cron expressions consist of five fields, including minutes, hours, days of the month, months, and days of the week.
warning
If you need to set the trigger time to a specific day of the month, we recommend that you do not set a day of the week to ensure that the Jobs are triggered within the specified time. When you set both the day of the month and the week, the Jobs will be triggered if either condition is met.
Cron expressions
You can enter multiple values in a field by using a Cron expression to meet different Job execution requirements.
- Comma (,): Indicates enumeration. For example, 1,3,4,7 * * * * indicates that the Job is executed at the 1st, 3rd, 4th, and 7th minute of every hour.
- Hyphen (-): Indicates a range. For example, 1-6 * * * * indicates that the Job will be executed every minute from the 1st to the 6th minute of each hour.
- Asterisk (*): Indicates any possible value. For example, an asterisk (*) in the hour field indicates every hour.
- Slash (/): indicates how often the Job is executed. For example, */2 * * * * indicates that the Job is executed at every time point divisible by 2, which is 0, 2, ..., 56, and 58.
Example
Last updated: 2026.07.24 14:51:37