Any way to schedule reboots to my envisalink

Information and support for EnvisaLink modules.

Moderators: EyezOnRich, GrandWizard

Post Reply
atunguyd
Posts: 8
Joined: Fri Jun 09, 2017 3:21 pm

Any way to schedule reboots to my envisalink

Post by atunguyd »

Hi I have an external system that talks to my envisalink 4 via the TPI interface, this has been working for 2 years now with no real issues except one. Every couple of months the system will not longer be able to connect to the envisalink 4 module and just gives a connection error. Rebooting that system does not fix the issue, but connecting to the envisalink 4 local website and issuing a reboot to it does fix the issue.

I would like to try to reboot my envisalink at the end of every month now to prevent this from happening. I have a few linux PC's dotted around the house that are running 24/7 so I can schedule a cron job to do this, I just not sure how so I was hoping someone can help. I see that the link to reboot the unit is just http://<envisalinkIP>/3?A=2 so I was thinking of just running a cron job to do a wget of this URL, but in order to do this I need to find a way to pass the username and password. Does anyone know a way to do this? Or perhaps there is a better way of resetting the unit periodically that I am missing?

Thanks

Anthony
GrandWizard
Posts: 2319
Joined: Tue Nov 16, 2010 4:08 pm

Re: Any way to schedule reboots to my envisalink

Post by GrandWizard »

curl -u username:password http://<envisalinkIP>/3?A=2
atunguyd
Posts: 8
Joined: Fri Jun 09, 2017 3:21 pm

Re: Any way to schedule reboots to my envisalink

Post by atunguyd »

Perfect thanks
jasonsmith
Posts: 1
Joined: Sun May 19, 2019 5:53 pm

Re: Any way to schedule reboots to my envisalink

Post by jasonsmith »

GrandWizard wrote:curl -u username:password http://<envisalinkIP>/3?A=2
i was having the same query thanks, your solution was handy
Post Reply