ports wont change?

1 reply [Last post]
.ALIAS.
Offline
Joined: Sep 2005
Posts:

With my server, the internet gets shut off at 12am and turns back on at 10am, and i use this port changing script
[code:1]seta switch "vstr m1"
seta m1 "vstr info1; set net_port 27961; net_restart; heartbeat; set switch vstr m2"
seta m2 "vstr info2; set net_port 27960; net_restart; heartbeat; set switch vstr m3"
seta m3 "vstr info3; set net_port 27961; net_restart; heartbeat; set switch vstr m4"
seta m4 "vstr info4; set net_port 27960; net_restart; heartbeat; set switch vstr m5"
seta m5 "vstr info5; set net_port 27961; net_restart; heartbeat; set switch vstr m6"
seta pm "vstr info6; set net_port 27960; net_restart; heartbeat; set switch vstr m7"
seta pm "vstr info7; set net_port 27961; net_restart; heartbeat; set switch vstr m8"
seta m8 "vstr info8; set net_port 27960; net_restart; heartbeat; set switch vstr m9"
seta m9 "vstr info9; set net_port 27961; net_restart; heartbeat; set switch vstr m1"

set info1 "The Server Must Be Restarted - please connect to 68.42.198.128:27961; wait 5"
set info2 "The Server Must Be Restarted - please connect to 68.42.198.128:27960; wait 5"
set info3 "The Server Must Be Restarted - please connect to 68.42.198.128:27961; wait 5"
set info4 "The Server Must Be Restarted - please connect to 68.42.198.128:27960; wait 5"
set info5 "The Server Must Be Restarted - please connect to 68.42.198.128:27961; wait 5"
set info6 "The Server Must Be Restarted - please connect to 68.42.198.128:27960; wait 5"
set info7 "The Server Must Be Restarted - please connect to 68.42.198.128:27961; wait 5"
set info8 "The Server Must Be Restarted - please connect to 68.42.198.128:27960; wait 5"
set info9 "The Server Must Be Restarted - please connect to 68.42.198.128:27961; wait 5"

(CRONTAB)
* */4 * * */vstr switch
[/code:1]
after like 7 hours i check on it and the port is the same, how do i get it 2 change

.ALIAS.
Offline
Joined: Sep 2005
Posts:
ports wont change?

i change the script so it changes 2 all different ports