Hunter Ellis

    Hunter Ellis

    6 months ago
    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?
    Kevin Kho

    Kevin Kho

    6 months ago
    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
    Hunter Ellis

    Hunter Ellis

    6 months ago
    Kevin, I am running locally as opposed with Docker. Will that work locally?
    Kevin Kho

    Kevin Kho

    6 months ago
    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
    Hunter Ellis

    Hunter Ellis

    6 months ago
    Ok so I would need to manually start an agent every time?
    Kevin Kho

    Kevin Kho

    6 months ago
    Well more like you would leave the agent on to pick up work
    Hunter Ellis

    Hunter Ellis

    6 months ago
    Thanks Kevin, that was my confusion.
    Michael Adkins

    Michael Adkins

    6 months ago