forked from MagicBane/Server
daily auto reboot
This commit is contained in:
@@ -210,7 +210,7 @@ public class WorldServer {
|
||||
this.isRunning = true;
|
||||
|
||||
while (true) {
|
||||
if(LocalDateTime.now().getHour() == 21 && LocalDateTime.now().getMinute() == 48){
|
||||
if(LocalDateTime.now().getHour() == 21 && LocalDateTime.now().getMinute() == 55){
|
||||
//daily reboot
|
||||
try {
|
||||
Runtime rt = Runtime.getRuntime();
|
||||
|
||||
Reference in New Issue
Block a user