Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BattlefieldDuck committed Mar 12, 2024
1 parent 7114b83 commit 5715fbb
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,12 @@ def run_threaded(master_server: MasterServer):
threads[master_server.key].start()


schedule.every(5).minutes.do(run_threaded, BeamMP())
schedule.every(5).minutes.do(run_threaded, Factorio())
schedule.every(5).minutes.do(run_threaded, Palworld())
schedule.every(5).minutes.do(run_threaded, Palworld())
schedule.every(5).minutes.do(run_threaded, Scum())
schedule.every(5).minutes.do(run_threaded, BeamMP()).run()
schedule.every(5).minutes.do(run_threaded, Factorio()).run()
schedule.every(5).minutes.do(run_threaded, Palworld()).run()
schedule.every(5).minutes.do(run_threaded, Scum()).run()

for job in schedule.get_jobs():
job.run()
print(f"Job: {job}, Next run: {job.next_run}, Period: {job.period}")

while 1:
Expand Down

0 comments on commit 5715fbb

Please sign in to comment.