https://prefect.io logo
Title
c

Chohang Ng

03/11/2021, 8:20 PM
Hi all, I've built an ETL pipeline with prefect locally and know that I need to run the prefect local agent start to pick up scheduled workflows. I am currently doing it on Powershell. My question is if I close the powershell, how do I know if the agent is still running? Is there a way to make sure it is always running so that my scheduled tasks will run on schedule?
a

ale

03/11/2021, 8:29 PM
Hey @Chohang Ng 🙂 I'm not a windows expert, but I guess you can start you script as a background process
c

Chohang Ng

03/11/2021, 9:18 PM
@ale Thanks for your response. could you elaborate? Do you mean there is a way to run the bash command automatically?
a

ale

03/11/2021, 9:26 PM
On Windows you should be able to start a .bat script as a background process. This may be helpful https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/start-job?view=powershell-7.1
1
🙌 1