Skip to content

Auto Restart System H5

Featured Replies

Anyone have this mod running java for H5?

# ---------------------------------------------------------------------------
# Auto Restart System
# ---------------------------------------------------------------------------
# Enable auto restart system?
EnableRestartSystem = True

# Enable restart system first
# Restart time countdown time (in seconds)
# Default: 300 (5 minutes)
RestartSeconds = 300

# Restart hours interval
# If you put 12:00 the server countdown for the restart will start at that time
# After 5 minutes (300 seconds) the server will be restarted
# You can put more than one value. Separate them by ","
# Example: 12:00,00:00
RestartInterval = 12:00,00:00

Solved by ZaNteR

Moving it to the right section...

Use search button before posting, please.

 

U could try to addapt &/|| change this one http://www.maxcheaters.com/topic/132419-interlude-automatic-restart/?hl=restart

Edited by ^Wyatt

  • Author

No Interlud --> H5 L2jserver

No Interlud --> H5 L2jserver

"Who does not sit LEARN ... never will stand for TEACH ..."

 

What's the difference? :rage:

  • Solution

You can auto restart the server using global tasks in the servers database.

 

Try this.

INSERT INTO `global_tasks` VALUES ('9', 'restart', 'TYPE_GLOBAL_TASK', '1377057240983', '1', '06:00:00', '300');

With this your server will autorestart everyday at 6 in the morning with a 300 seconds countdown.

  • Author

Tranks all

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.