Page 1 of 1

Any way to schedule reboots to my envisalink

Posted: Sun May 12, 2019 11:13 am
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

Re: Any way to schedule reboots to my envisalink

Posted: Sun May 12, 2019 11:31 am
by GrandWizard
curl -u username:password http://<envisalinkIP>/3?A=2

Re: Any way to schedule reboots to my envisalink

Posted: Sun May 12, 2019 11:42 am
by atunguyd
Perfect thanks

Re: Any way to schedule reboots to my envisalink

Posted: Sun May 19, 2019 6:01 pm
by jasonsmith
GrandWizard wrote:curl -u username:password http://<envisalinkIP>/3?A=2
i was having the same query thanks, your solution was handy