-
I have a cron workflow that runs 1 template at a certain time: kind: CronWorkflow
spec:
schedule: '0 0 * * *'
workflowSpec:
entrypoint: A
templates:
- name: A I now also want to schedule a different job (template B) to run at a different schedule. Is it possible I can extend the workflow template to do this? Or will I have to create another CronWorkflow file to do this? Can I supply multiple |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That is exactly the use-case of having multiple CronWorkflows. You have different, unrelated templates and they shouldn't be tightly coupled (related: #12175 (comment)).
You don't use a
|
Beta Was this translation helpful? Give feedback.
That is exactly the use-case of having multiple CronWorkflows. You have different, unrelated templates and they shouldn't be tightly coupled (related: #12175 (comment)).
You don't use a
WorkflowTemplate
in your code here?schedules
is supported in 3.6 (#12616), but no you can't specify them per template. You can and should use multiple CronWorkflows for this.