Good afternoon. I just ran my first flow using pr...
# prefect-ui
h
Good afternoon. I just ran my first flow using prefect server and the localhost:8080. I had a question on scheduling. Is there a way to automate activating the server and local agent or do I just need to leave it running in the background?
k
They are meant to be run as long running processes because the server has processes that consistently run to schedule your flows. I think server has a
--detach
flag
h
Kevin, I am running locally as opposed with Docker. Will that work locally?
k
Server as the detach flag and only runs containerized right?
prefect server start
spins up Docker containers for that.
The detach flag is for server but not agent
h
Ok so I would need to manually start an agent every time?
k
Well more like you would leave the agent on to pick up work
h
Thanks Kevin, that was my confusion.
z