Autorestart problem

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
WallMan
Posts: 42
Joined: Fri Oct 07, 2011 5:53 am

Autorestart problem

Post by WallMan »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 5138M:
L2JDP Revision 8632M:
Freya - Linux

Hello!

I've configured the global_task's table with the following line:
8 restart TYPE_GLOBAL_TASK 1 1 6:00:00 300000
But the server doesn't restart at 6am, however, the fourth column is filled with the correct time:
8 restart TYPE_GLOBAL_TASK 1332147600345 1 6:00:00 300000
In the log's file:
2012.03.19 05:50:42,940 INFO 24 com.l2jserver.gameserver.instancemanager.FourSepulchersManager FourSepulchersManager: Entry time: Mon Mar 19 05:55:42 ART 2012
2012.03.19 06:00:00,987 INFO 22 com.l2jserver.gameserver.instancemanager.CastleManorManager Manor System: Next period approved
2012.03.19 06:00:00,988 INFO 22 com.l2jserver.gameserver.instancemanager.CastleManorManager Manor System: Manor period approve updated
2012.03.19 06:00:00,988 INFO 22 com.l2jserver.gameserver.instancemanager.CastleManorManager Manor System: New Schedule for period approve @ Tue Mar 20 06:00:00 ART 2012
2012.03.19 06:00:13,944 INFO 27 com.l2jserver.gameserver.taskmanager.tasks.TaskSevenSignsUpdate SevenSigns: Data updated successfully.
2012.03.19 06:08:31,345 INFO 17 com.l2jserver.gameserver.instancemanager.HellboundManager HellboundManager: Database updated.
2012.03.19 06:08:31,346 INFO 23 com.l2jserver.gameserver.instancemanager.GlobalVariablesManager GlobalVariablesManager: Database updated.
2012.03.19 06:08:31,346 INFO 23 com.l2jserver.gameserver.taskmanager.tasks.TaskGlobalVariablesSave GlobalVariablesManager: Data updated successfully.
2012.03.19 06:30:00,427 CONFIG 17 com.l2jserver.gameserver.taskmanager.tasks.TaskDailyQuestClean Daily quests cleared

Could you help me to determinate what is wrong?

Thank you so much
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Re: Autorestart problem

Post by lucan »

Try putting 1 or 2 minutes more on restart, I had the same problem and solved that way.
Probably at the time of restart, the script is still running Manor saving information.

8 restart TYPE_GLOBAL_TASK 1332147600345 1 6:01:00 300000 <----
WallMan
Posts: 42
Joined: Fri Oct 07, 2011 5:53 am

Re: Autorestart problem

Post by WallMan »

Thanks i will try it!!
User avatar
lucan
Posts: 590
Joined: Wed Mar 16, 2011 10:39 pm
Location: Brazil

Re: Autorestart problem

Post by lucan »

Correction... (I have not seen the first time)

8 restart TYPE_GLOBAL_TASK 1332842400990 1 06:00:00 300

Change the last number to 300 for 5 minutes, 300000 = 83Hours!!!
Thins number is in seconds!!
Post Reply