How do i fix the Server restart

dude,

Thetimer = new System.Timers.Timer();
Thetimer.Interval = 3000;
Thetimer.Elapsed += new ElapsedEventHandler(Thetimer_Elapsed);
Thetimer.Start();

Restart = new System.Timers.Timer();
Restart.Interval = 600000;
Restart.Elapsed += new ElapsedEventHandler(Restart_Elapsed);
Restart.Start();


I found it, but idk what one to chat the 3000
or the 600000, and how do i make it an hour
 
dude,

Thetimer = new System.Timers.Timer();
Thetimer.Interval = 3000;
Thetimer.Elapsed += new ElapsedEventHandler(Thetimer_Elapsed);
Thetimer.Start();

Restart = new System.Timers.Timer();
Restart.Interval = 600000;
Restart.Elapsed += new ElapsedEventHandler(Restart_Elapsed);
Restart.Start();


I found it, but idk what one to chat the 3000
or the 600000, and how do i make it an hour

timers work in milliseconds and each 1000 millisecond is a second so 1000x60x60=1 hr u do the math... lol

anywayz its kinda obvious which timer ud change... <.<
 
Back