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
Post a Comment