Hi All, How to run local or docker agent processes...
# prefect-community
d
Hi All, How to run local or docker agent processes backend on a windows system? similar to Supervisor.
k
I think there is this thing called Windows task scheduler? are you familiar?
d
Windows task scheduler runs based on schedule. It actually call a windows command and the command could be executed under a specify AD account. I'm more looking for something like windows service. A typical windows service can start automatically after the windows server started and it can keep running until windows server shutdown. Because I do want the agent process runs like a listener instead of just a scheduled process.
a
Do you happen to run it on Azure? if so, we have agents on the Azure marketplace
d
I'm aware of that although I'm exploring running agents on on-premises window servers. We have some windows applications need to run as some steps in a flow. I have to run these windows applications in shelltasks and use local agent. It seems that docker agent doesn't like windows base images.
a
You're right, it's made for Linux, for Windows using local agent is probably the best option and your DevOps can probably help you run the agent startup command as a service - do you have someone in your team who can help with that?
🌠 1
d
Yeah, NSSM could be one of solutions. We'll try several options and let community know
👍 1
NSSM works! I created a windows service running docker agent. It starts automatically after the server started.
🙌 1
k
Thanks for the info!
upvote 1