[Setup/Guide] How to run the server automatically on log on

[Setup/Guide] How to run the server automatically on log on

Postby HelloWorldCool » 10 Jan 2012, 23:41

UPDATE on 2/2/12: You can refer to this website for more info: http://www.pcwintech.com/using-power-wi ... -scheduler

First of all I have to say i justed learned this a while ago so there's no video right now.

Using Windows Task Scheduler: For Running the Server Automatically
Steps and Configuration:
1) Click Start
2) In Search dialog type or copy and paste: "%windir%\system32\taskschd.msc /s" (without quotes)
3) Press Enter.
4) You have now started Task Scheduler.
5) If you are in Task Scheduler(Local)...Click down to >>Task Scheduler Library.
6) On the Right Side You should see "Actions" Pane/Panel. (Task Scheduler Library, and Selected Item in Blue Headings)
7) Under "Task Scheduler Library" Click 'Create Task'

-----------------------------------------------------------------------------------------------------------------------------------------

8) My Configuration:

General Tab:

Name: MCDzienny Server AutoStart
Location: [can't change]
Author: [Your computer name]
Description: This Task will give the computer the ability to start your server automatically when you log on.

Security Options:
Run only when user is logged on.
(Run with highest privileges is not needed for MCDzienny)
You may select "Hidden" if you hate seeing your players chat :P (don't do it)
Configured for: "Whatever Operating System you have"

----------------------------------------------------------------------------------------------------------------------------------------

Triggers Tab:

1. Click New
2. Settings:

Begin the task: At Log on
(If you have parents who use the computer you can try using Begin the task: On connection to user session
[Then Select Specific User: Your Username...and Change User if needed]

3. Advanced Settings:

Repeat Task Every 1 minute -"You need to type in the 1"
(Don't worry about this it saves your server because if your server crashes within 1 minute it'll be right up)

-----------------------------------------------------------------------------------------------------------------------------------------

Actions Tab:

1. Click New
2. Action: Start a Program
3. Settings:

Program/Scripts: [Browse for MCDzienyLava.exe]
Skip next two textboxes
and Click OK.

-----------------------------------------------------------------------------------------------------------------------------------------

Conditions Tab:

Get Rid of the Checks in "Power" section

-----------------------------------------------------------------------------------------------------------------------------------------

Settings Tab:

Everything should be already configured.
Just make sure below the last setting is correct.

If the task is already running, then the following rule applies:
Do not start a new instance

!! Note: Obviously if your server crashes and you are not anywhere near your computer(shopping, etc) your fully protected because in just 1 minute it will be restarted!

Finally Click OK at the very bottom.

Congrats Scheduled Task Created! 8-)

Hope this Helps to All! :D
Download fCraft maps! - viewtopic.php?f=25&t=3012!



Note: The Developer(s) of MCDzienny have resigned and the software is no longer supported.
Errors are bound to occur and Mojang has not attempted to resolve them.
User avatar
HelloWorldCool
 
Posts: 867
Joined: 18 Oct 2011, 00:19
Location: MCDzienny Forums, HelloWorldCool Forums

Re: [Setup/Guide] How to run the server automatically on log

Postby Ultima » 11 Jan 2012, 09:18

Note: This does not work on windows server due prevention from starting programs before login.

Great guide :)

3. Advanced Settings:

Repeat Task Every 1 minute -"You need to type in the 1"
(Don't worry about this it saves your server because if your server crashes within 1 minute it'll be right up)


I preffer using the MCZ auto-restart function otherwise u can't close your server for over 1min. (maintance, update etc.)
User avatar
Ultima
 
Posts: 953
Joined: 19 Aug 2011, 23:45

Re: [Setup/Guide] How to run the server automatically on log

Postby thrkrew01 » 15 Apr 2012, 18:54

thanks! this is great when i go play cod because it usually has crashed by the time i get back to it :)
thrkrew01
 
Posts: 93
Joined: 07 Feb 2012, 00:33

Re: [Setup/Guide] How to run the server automatically on log

Postby GrimWeaper » 20 May 2012, 20:27

For Windows all you have to do is type Task Scheduler in search.
GrimWeaper
 
Posts: 52
Joined: 04 Nov 2011, 21:43

Re: [Setup/Guide] How to run the server automatically on log

Postby Joker » 21 May 2012, 12:46

Am, Apparently I tied to copy and paste the text you gave "%windir%\system32\taskschd.msc /s".
But when I typed that in it said:
windows cannot find... Make sure u typed... and etc.
So any suggestions for this?
I will be kind with someone if he is kind to me. ;)
Joker
 
Posts: 15
Joined: 20 May 2012, 13:04
Location: MCDzienny Forum.

Re: [Setup/Guide] How to run the server automatically on log

Postby creativemagic » 21 May 2012, 14:13

The %windir%\system32\taskschd.msc /s Just opens the task scheduler, Since this isn't working for you, you could open it another way, try looking for it in the: control panel > Administrative Tools > task scheduler.
Or you could manually look for it;
Local disk (normally your C drive) > Windows > system32 > taskscd
Owner of...
[Exclusive] Lava Survival
User avatar
creativemagic
 
Posts: 214
Joined: 12 Nov 2011, 20:26

Re: [Setup/Guide] How to run the server automatically on log

Postby Joker » 21 May 2012, 15:12

Dude ur a real helper. Thanks a lot :D.
I will be kind with someone if he is kind to me. ;)
Joker
 
Posts: 15
Joined: 20 May 2012, 13:04
Location: MCDzienny Forum.

Re: [Setup/Guide] How to run the server automatically on log

Postby TheFinlandos » 16 Jul 2012, 20:51

Hi i only have 1 question.. how do i find my servers IP?
TheFinlandos
 
Posts: 16
Joined: 14 Jul 2012, 19:03

Re: [Setup/Guide] How to run the server automatically on log

Postby PlatinumKiller » 18 Jul 2012, 02:58

TheFinlandos wrote:Hi i only have 1 question.. how do i find my servers IP?


http://www.whatsmyip.org/

But default would be 127.0.0.1
Image
User avatar
PlatinumKiller
 
Posts: 388
Joined: 22 Jun 2011, 22:55
Location: MCDzienny Forums

Re: [Setup/Guide] How to run the server automatically on log

Postby Warren » 08 Aug 2012, 05:25

Lol... when i typed it in the search (im not this stupid, so don't take me as it)
it completely shut down my computer... after copy + pasting that into search bar...
Warren
 
Posts: 5
Joined: 06 Apr 2012, 22:19

Next

Return to How-To

Who is online

Users browsing this forum: No registered users and 4 guests

cron