https://prefect.io logo
m

Moe

07/27/2023, 1:04 PM
Hello all, Wondering is it possible to set flow schedules if I'm working locally? i.e. I am using Prefect cloud but have not deployed my flows to my aws infrastructure just because there are some complications there atm. I'm able to run and execute my flows from local and can see it in Prefect cloud UI.
1
d

Deceivious

07/27/2023, 1:44 PM
Create a prefect profile with credentials to connect to cloud API, activate the profile, run the agents locally and connect to correct work queue. The agent should pick the flows.
If you run a flow locally without agent while using the profile, the flows should be in cloud UI.
m

Moe

07/27/2023, 1:49 PM
I'm already connected to cloud API and my flows from running locally show up in cloud UI
d

Deceivious

07/27/2023, 1:50 PM
Do you want to change the schedules of existing deployments?
m

Moe

07/27/2023, 1:51 PM
I haven't set any schedules or created any deployments. So far have just run the static flows locally to make sure they execute.
d

Deceivious

07/27/2023, 1:52 PM
What do you mean by
to set flow schedules
?
m

Moe

07/27/2023, 1:52 PM
Like run this flow every 2 hours
d

Deceivious

07/27/2023, 1:53 PM
For that you would need to deploy with a schedule.
🙌 1
Or just run the flow on a cron. 😄 [Non prefect way of doing things]
m

Moe

07/27/2023, 1:54 PM
Yeah, want to do it the prefect way to test it out. Thanks will try deploying then.
👍 1