cncf / wg-serverless

CNCF Serverless WG
https://cncf.io
Apache License 2.0
1.52k stars 151 forks source link

Is cron like scheduling possible? #245

Closed singhkays closed 4 years ago

singhkays commented 4 years ago

I've been reviewing the spec and it seems like you can define the state/task start kind to be scheduled but this only takes an interval as a property. Is it possible to specify a cron like syntax?

tsurdilo commented 4 years ago

@singhkays the schedule start interval prop currently is expected to use the ISO 8601 date and time format. The specification "Schedule Definition" shows 4 different ways you can use. ISO 8601 also has a repeating interval definition which may help...but yes still just interval based :)

Could you please show an example where ISO 8601 does not fit your needs and lets add it !

Also we are in the process to moving to our new github repo : https://github.com/cncf/wg-serverless-workflow and if you don't mind lets move this conversation there if possible as a new issue ? Thanks!

tsurdilo commented 4 years ago

Moved to new repo - https://github.com/cncf/wg-serverless-workflow/issues/31