This article explains how CRON syntax is used in the Tanzu Scheduler to automate and schedule recurring tasks.
Scheduler for Tanzu 2.0
The Scheduler for Tanzu syntax for specifying schedules is a variation on the Quartz CRON format. The main variations are the lack of support for both Seconds and Year in the schedule expression. All expressions must be 5 segments delimited by a space: MIN HOUR DAY-OF-MONTH MONTH DAY-OF-WEEK
.
Note:
For example, to run a Scheduler job every hour at the top of the hour:
cf schedule-job test-job "0 * ? * * " Scheduling job test-job for test-app to execute based on expression 0 * ? * * in org test-org / space test-space as admin OK
References: