I want to reuse my workflow jobs scheduling them at various times of the day but with different input
Basically something like this
on: schedule: - cron: '0 0 * * *' env: MY_VAR: midnight_run - cron: '0 6 * * *' env: MY_VAR: morning_run
but I assume this is not supported?
I can obviously run some custom command/script that will check current date and (assuming that I give it some tolerance in terms of exact minute) set the correct value of
MY_VAR but it doesn’t feel like a good solution.
I’ll appreciate any ideas