Jump to content
  • 0

Setting up Scheduler(can´t get it to work)


Mr.Exodus

Question

So i haven´t touch a dayz server for a long time. So yesterday i made one, but i can´t get the scheduler to work. Hope a genius can see what i am doing wrong! :)

Its the last thing i need before the official server release...

 

 

Dayz Epoch Panthera. 

 

Here is my pastebin!

 

http://pastebin.com/5eYRqRfU

 

Thx, for the help!

 

 

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

I think i got it fixed. By adding the <delay>000000</delay> under <time>. I dont know how to make the BEC do the restart, i think i will need a Bat. file for that,.

Anyway, i got it to work after some hours :)

 

 

To make BEC restart, insert a job id like this:

	<job id="7">
		<time>03:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>#shutdown</cmd>
		<cmdtype>0</cmdtype>			
	</job>

The example above is a restart command issued at 3am, every day.

 

Just change the Job ID & Time and you are good.

Link to comment
Share on other sites

  • 0

To make BEC restart, insert a job id like this:

	<job id="7">
		<time>03:00:00</time>
		<delay>000000</delay>
		<day>1,2,3,4,5,6,7</day>
		<loop>0</loop> 
		<cmd>#shutdown</cmd>
		<cmdtype>0</cmdtype>			
	</job>

The example above is a restart command issued at 3am, every day.

 

Just change the Job ID & Time and you are good.

 

this isnt always a good sollution ... especially if he has a hosted server.

 

some hosts are turning database on and off along with the server (ex. vilayer gameservers, dont ask me why or what the point of it is), in such case it will completly mess up the server cycles if you attempt to do restarts using this command.

Link to comment
Share on other sites

  • 0

Agreed, if you are using host like Vilayer, refer to scheduled tasks in control panel instead of scheduler.xml. Vilayer starts/stops database together with the server. 

However if you are using Vert hosting, #shutdown would be a good option. I am using it without any problems at all.

Dayz.st has their own custom config for restarts on config page.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...