Script to reboot an HDX

Rudedog46
Occasional Visitor

Script to reboot an HDX

Hello! My boss want our fleet of HDX units to be rebooted once a week in the middle of the night. Is there a way to automate and schedule a reboot? I think I would need to use some kind of telnet script to issue the reboot command if that's even possible. Thanks!

Message 1 of 6
5 REPLIES 5
Ovg
Trusted Contributor

Re: Script to reboot an HDX

In WWW a find this(see attachment). It works. You have to create task in scheduler. 

 

Original - http://www.techidiots.net/autoit-scripts/telnet-batch/telnet_batch2.zip/view

------------------------------------------------------------------
It's impossible to lead us astray for we don't care even to choose the way.
Ovg
Trusted Contributor

Re: Script to reboot an HDX

Update:   Administrative rights may be required to run this task

------------------------------------------------------------------
It's impossible to lead us astray for we don't care even to choose the way.
Message 3 of 6
ermcvnc
Visitor

Re: Script to reboot an HDX

Hello, did you get a response on creating telnet scripts for HDX
Message 4 of 6
Ali Mehdylou
Occasional Advisor

Re: Script to reboot an HDX

Hi,

 

The command is "reboot now"

Message 5 of 6
maciej.waniek
Occasional Contributor

Re: Script to reboot an HDX

Hello,

Could someone help me with rebooting multiple hdx and rpg via ssh by script ?

IP adress in external txt file,

 

in plink it looks like this:

 

plink user@192.168.0.1 -pw password -ssh <commands.txt> output.txt

 

 

I tried to make autoit script but without succes to :/

Message 6 of 6