https://prefect.io logo
Title
m

matta

06/27/2020, 12:20 AM
Silly question: How do I view & manage schedules if I'm not using the UI? I wanna deploy on a small server that's probably too small to run docker-compose.
n

nicholas

06/27/2020, 12:21 AM
I think your best bet there is to query the API, where you have all the queries/mutations that the UI would use otherwise
m

matta

06/27/2020, 12:22 AM
I'd be using Prefect Core
n

nicholas

06/27/2020, 12:22 AM
Ahh ok, I misunderstood the question, sorry!
Without the persistence layer of Prefect Cloud/Server, schedule management is entirely managed by your code.
m

matta

06/27/2020, 12:24 AM
I can find in the docs how to set up schedules, but I can't quite tell how to see like what's currently scheduled, or how to cancel something.
Or would I have to like set up a regular cron job or something if I'm not using Cloud or Server?
n

nicholas

06/27/2020, 12:32 AM
I think your best case would be to use Cloud for this, since you can manage everything from the UI without having to worry about hosting or docker-compose. Without a persistence layer of some sort, you're "managing" schedules purely in-process, which means you'll need to be on that server to stop the process that contains your scheduled flow.
Otherwise, runs will happen according to the schedule you lay out in your code, and there isn't really a way to interact with the code as it's running.
m

matta

06/27/2020, 12:39 AM
Right on! Just signed up for the Cloud
πŸš€ 2
Was a little hesitant since I'm working with super-duper-sensitive data, but hey, if it's secure enough for financial institutions... πŸ™‚
n

nicholas

06/27/2020, 12:42 AM
We've got lots of HIPPA-compliant institutions as well πŸ˜„ πŸ˜›refect-cloud:
m

matta

06/27/2020, 12:43 AM
Sweet!