简体   繁体   中英

How to develop windows service to handle bat command

We have webpage (in perl) on a remote host for submitting windows bat command request and the request will be sent to windows 2008, kinda like Jenkins.

The OS is: windows 2008, we have Visual studio 2008 and active perl installed. I would like to create a windows service to handle the request submitted from webpage, and run it on Windows. So the windows service can be listening to TCP port, when the request comes, handle it.

As I am pretty new to the windows service development, could anyone shed some lights on it? The more detailed the better, appreciated!

We ended up using Cygwin inetd as a service. There is another solution which is using Jenkins Windows slave.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM