Any way to schedule reboots to my envisalink

Information and support for EnvisaLink modules.

Moderators: EyezOnRich, GrandWizard

atunguyd
Posts: 6
Joined: Fri Jun 09, 2017 3:21 pm

Any way to schedule reboots to my envisalink

Postby atunguyd » Sun May 12, 2019 11:13 am

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: 1884
Joined: Tue Nov 16, 2010 4:08 pm

Re: Any way to schedule reboots to my envisalink

Postby GrandWizard » Sun May 12, 2019 11:31 am

curl -u username:password http://<envisalinkIP>/3?A=2

atunguyd
Posts: 6
Joined: Fri Jun 09, 2017 3:21 pm

Re: Any way to schedule reboots to my envisalink

Postby atunguyd » Sun May 12, 2019 11:42 am

Perfect thanks

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

Re: Any way to schedule reboots to my envisalink

Postby jasonsmith » Sun May 19, 2019 6:01 pm

GrandWizard wrote:curl -u username:password http://<envisalinkIP>/3?A=2

i was having the same query thanks, your solution was handy


Return to “EnvisaLink ( IP100D, IP170D, 2DS, 3, 4)”

Who is online

Users browsing this forum: No registered users and 7 guests