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!
nicholas
06/27/2020, 12:23 AM
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.
matta
06/27/2020, 12:25 AM
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.
nicholas
06/27/2020, 12:33 AM
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
matta
06/27/2020, 12:40 AM
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 😄 prefect cloud