Hi folks! I'm running prefect on a vm and having issues when the box reboots. The docker containers and prefect server restart just fine, but the agent doesn't--so scheduled jobs don't start. What's the best way to deal with this?
a
Avi A
06/03/2020, 3:11 PM
Hey, I think the simplest way would be to register the command
prefect agent start
as a system service. That way it will start when the system boots
upvote 1
n
nicholas
06/03/2020, 3:28 PM
Hi @Mary Clair Thompson - another way we recommend creating long-standing agents is by using a service like Supervisor.