[Guide] Auto Maint

05/06/2011 00:37 shadowkiller990#1
So heres my auto maint its quite easy once u figure it out lol this guide is for Windows 7

1st - Shutdown

Open Task Scheduler That is located "Control Panel\System and Security\Administrative Tools"

After Open that go to Action Create Task

input the Name as ShutDown, Move over to triggers and Click New
Make sure at the Top left you Click Daily Or what ever you want it to be

Now in the middle you will see where it says start I put in 3:45am

Now move over to actions And make sure it selected as Start A program
where it says Program/Script Add this
C:\Windows\System32\shutdown.exe

Where it says Add Arguments Add This
-r -t 00

Once you are done Press Okay Now Move over to Conditions where it says Power options Click on Wake this computer Up

Your Done The ShutDown Part
Also the ShutDown Part Will Restart Your Computer Allowing All servers To Close And give you a fresh Reboot


Account

Go To Action and Create New Task
Go To Triggers and set the start up time i set it for 4am so that gives my computer 15mins To Startup

Move over to Actions and Do start a program and find your account.exe Also Make sure you put in the (Start in) Optional the location of your account.exe or else it wont load the configs

Now go to conditions and take off the power option and turn on so your computer will wake up

Now the rest should be set

Now Reapeat Steps For MSG and NPC Then you Have A AUTOMAINT :D


Please Push The Thanks :D
05/06/2011 01:18 Eurion#2
Not too bad of a guide, just be warned, if you use this, sometimes it will cause your database to become corrupt due to the way it just kills the process and the files can't do the saving they need.
05/06/2011 01:24 shadowkiller990#3
Well thats why the commands are -r -t 00 will close programs Properly compared to
-r -f -t 00

-r = restart
-f = Forse Quit
-t = Timmer

So everything gets to close properly instead of forsing it to close :D
05/06/2011 01:33 Eurion#4
Yes but it still kills a process. The server file start the save function after the close button is clicked. So unless you write up a program that physically clicks that button, then the ok button, it will not run the function.



Please note, I'm not saying this is bad, I'm just giving a warning that it can happen.