Community discussions

 
timesecuritypr
just joined
Topic Author
Posts: 1
Joined: Wed Jun 19, 2019 2:43 pm

Script to reboot phones

Wed Jun 19, 2019 2:55 pm

Good day:

I need to create a script that does the following:

Condition 1

1. check if primary ISP connection is unreachable and secondary ISP connection is reachable and primary ISP connection distance is 1
2. If primary ISP connection is unreachable and second reachable, change distance of primary connection to 4, clear all firewall connections and invoke certain http links. These links will reboot the phones so they can register using the failover ISP connection.

Condition 2

1. check if primary ISP connection is reachable and primary ISP connection distance is 4
2. If primary ISP connection is reachable and primary ISP connection distance is 4, change distance of primary connection to 1, clear all firewall connections and invoke certain http links. These links will reboot the phones so they can register using the primary ISP connection.

3. Script must check every 10 seconds.

Who is online

Users browsing this forum: Majestic-12 [Bot] and 6 guests