unix - Check the services in linux server from windows using batch scripts -


this check linux services using batch scripts.

we have linux server windows client machine. using windows server data loads using batch scripts. want check linux services before starts loads using batch scripts windows daily batch scripts.

question that, can write batch script check services in linux services , if yes, can services not batch scripts has goto exit option else goto next step, can we?

please give views on this. nag

you can install cygin https://cygwin.com/install.html on windows box. can run shell command on cygwin prompt on windows box. eg: service sshd status > status.txt

and can use status.txt input file batch script check status.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -