Use cluster generic script to run a batch job
i need cluster member auto run batch job when cluster resources fail on member.
use vbscript below:
please, there can me !!!
use vbscript below:
dim wshshell : set wshshell = createobject("wscript.shell")problem can't bring online in cluster administrator, , can't trigger batch job. show error code , think miss in code.
function online()
runcommand "c:\start.bat", true
online = 0
end function
function open()
open = 0
end function
function close()
close = 0
end function
function runcommand(command, wait)
runcommand = wshshell.run(command, 1, wait)
end function
please, there can me !!!
hi,
for scripting issues, please discuss them in our msdn forum. deal scripting issues , should best resource assist you.
http://social.msdn.microsoft.com/forums/en-us/categories/
i hope issue can resolved soon.
tim quan - msft
Windows Server > High Availability (Clustering)
Comments
Post a Comment