View in #prefect-community on Slack
@Dominic_Pham: Hi all, let’s say that I have a flow scheduled and running on cloud that launches another python process/program/script via a local agent and it runs on the weekends. Is there an agent that can persist on my local machine in the event that my machine restarts?
@Kevin_Kho: Hey @Dominic_Pham, so the way to do this would be by using some other service to make sure the agent is started. The docs shows how to use supervisor . I have also heard using nohup
is easier.
@Tilak_Maddy: Hey dominic , I use screen
to run my agent (on a gcp vm) https://www.digitalocean.com/community/tutorials/how-to-install-and-use-screen-on-an-ubuntu-cloud-server
DigitalOcean: How to Install and Use Screen on an Ubuntu Cloud Server | DigitalOcean