Skip to content

schedule templates at different times within 1 cron workflow? #13725

Closed Answered by agilgur5
fel-este asked this question in Q&A
Discussion options

You must be logged in to vote

I now also want to schedule a different job (template B) to run at a different schedule.

Or will I have to create another CronWorkflow file to do this?

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)).

Is it possible I can extend the workflow template to do this?

You don't use a WorkflowTemplate in your code here?

Can I supply multiple schedules for different templates?

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by agilgur5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/cron-workflows type/support User support issue - likely not a bug
2 participants