gifted-house-14547
06/23/2022, 8:23 AMCronSchedule
method when I setup launch plan
this is my example of launchplan below.
if __name__ == "__main__":
remote = FlyteRemote(config=Config.auto())
remote.register_launch_plan(
entity=LaunchPlan.get_or_create(
name="daily-test",
workflow=<http://workflows.wf|workflows.wf>,
# Minutes, Hours, Day-of-month, Month, Day-of-week, Year
# minute, hour, day-of-month, month, day-of-week, year
# cron_expression -> aws cron scheme
schedule=CronSchedule(cron_expression="0 3 * * ? *"),
),
project="flytesnacks", #flyte-aistudio
domain="development",
version="51Dwe74FqGRzs2v1WPwrcg==",
)
It returns the error below
launch plan daily failed to update due to rpc error: code = Internal desc = failed adding schedule for unknown schedule expression type &{0 3 * * ? *}
Is this bug fixed to use cron_expression with 6 field type
in the latest version?icy-agent-73298
06/23/2022, 9:19 AM