Auto-Maint Scripts

06/24/2010 19:05 droopy72#1
I have been looking for an addition for a private server.
I have not been able to find a script/code that will automatically shut down the server at a certain time, and then bring it back up usually called a autorestart script or auto-maintenance script.. basically does maintenance for you so you don't have to shut it down and bring it back up manually every day, I have had no luck finding one and was wondering if anyone has one they can share or help me figuring out how to create one.
Thanks
06/24/2010 19:12 ~Sword~Stalker~[PM]#2
try searching by author :Soulerman
06/24/2010 19:22 A$$asin#3
[Only registered and activated users can see links. Click Here To Register...] search
06/24/2010 20:22 droopy72#4
Thanks tons guys, I searched around but I guess my searches didn't come out right and pull the thing up.. much appreciated..
06/24/2010 20:35 Knight^Hawk#5
or...

make a .bat file

Code:
@echo off
echo Seu servidor esta sendo reiniciado
taskkill /f /im "AccountServer Version 6.127-1.exe"
taskkill /f /im "MsgServer2.700.exe"
taskkill /f /im "NPC.exe"
ping -n 5 localhost>nul
Start ACCT
ping -n 5 localhost>nul
Start 2MSG
ping -n 20 localhost>nul
Start NPC
then schedule a task to run at a certain time.


Credits: Lukonhabr
06/24/2010 20:58 BrokenHilt#6
Quote:
Originally Posted by Knight^Hawk View Post
or...

make a .bat file

Code:
@echo off
echo Seu servidor esta sendo reiniciado
taskkill /f /im "AccountServer Version 6.127-1.exe"
taskkill /f /im "MsgServer2.700.exe"
taskkill /f /im "NPC.exe"
ping -n 5 localhost>nul
Start ACCT
ping -n 5 localhost>nul
Start 2MSG
ping -n 20 localhost>nul
Start NPC
then schedual a task to run at a certain time.
Credits? :facepalm:
06/24/2010 22:24 lukonhabr#7
Credits By : Rezende Brazil
06/26/2010 00:43 Resende#8
my job is going away :D