Page 1 of 1

Autorestart problem

Posted: Mon Mar 19, 2012 12:10 pm
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

Re: Autorestart problem

Posted: Fri Mar 23, 2012 2:27 pm
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 <----

Re: Autorestart problem

Posted: Tue Mar 27, 2012 3:31 am
by WallMan
Thanks i will try it!!

Re: Autorestart problem

Posted: Tue Mar 27, 2012 11:17 am
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!!