I am using SCDF version 2.11.0 . Earlier I am able to create schedule tasks with CRON_TZ and it was working fine .
Recently , not able to create schedule with CRON_TZ . We are getting the below error , while creating schedule task in SCDF UI :
*Caught exception while handling a request: Failed to create schedule CronJob.batch “test-scheduler” is invalid value: “CRON_TZ=America/New_York 30 2 * * “: cannot user TZ or CRON_TZ in schedule, use timeZone field instead
Kubernetes version used : 1.29.2
SCDF version : 2.11.0
CRON Expression : CRON_TZ=America/New_York 30 2 * * *
As per Kubernetes version 1.29.2 , TZ and CRON_TZ field won’t work and we have to user timeZone . Even with that change also we are getting below error:
**Caught exception while handling a request: Failed to create schedule CronJob.batch “test-scheduler” is invalid value: “timeZone=America/New_York 30 2 * * “: expected exactly 5 fields , found 6:[timeZone=America/New_York 30 2 * * ]
We have to schedule in SCDF UI only . I am not much clear how to use the CRON expression with timeZone field .
Thanks in advance for your help.