mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-24 09:10:16 -06:00
9e984b1216
Clean up old versions
12 lines
262 B
Python
12 lines
262 B
Python
import time
|
|
import schedule
|
|
from datetime import date
|
|
from LibreQoS import refreshShapers
|
|
|
|
if __name__ == '__main__':
|
|
refreshShapers()
|
|
schedule.every().day.at("04:00").do(refreshShapers)
|
|
while True:
|
|
schedule.run_pending()
|
|
time.sleep(60) # wait one minute
|