When using the `@scheduler` decorator with a step-...
# ask-metaflow
b
When using the
@scheduler
decorator with a step-function on aws, I wasn't able to use the cron argument. Is there a specific format for doing this or does this not work with step-functions out of the box? I was trying to run the step function every 3 minutes.
Copy code
@schedule(cron='*/3 * * * *')
which errored with
Copy code
ClientError('An error occurred (ValidationException) when calling the PutRule operation: Parameter ScheduleExpression is not valid.')
I can manually add an eventbridge rule from the aws console, but was wondering if there was a way to do this from inside my flow.