<s> import time <EOL> from ark . rcon import Rcon <EOL> from ark . scheduler import Scheduler <EOL> from ark . server_control import ServerControl <EOL> from ark . storage import Storage <EOL> from factory import Factory <EOL> Lang = Factory . get ( '<STR_LIT>' ) <EOL> class Task_DailyRestart ( Scheduler ) : <EOL> """<STR_LIT>""" <EOL> @ staticmethod <EOL> def run ( ) : <EOL> Rcon . delayed_restart ( <NUM_LIT> , Lang . get ( '<STR_LIT>' ) ) <EOL> class Task_DailyRestartRepopulate ( Scheduler ) : <EOL> """<STR_LIT>""" <EOL> @ staticmethod <EOL> def run ( ) : <EOL> Storage . repopulate_dinos_on_next_restart = True <EOL> Rcon . delayed_restart ( <NUM_LIT> , Lang . get ( '<STR_LIT>' ) ) </s>
