diff --git a/download_server.py b/download_server.py index 3da632d43b3ee28cd268c9c2015b5662a7800949..05de19430e701b301427d5307a73ea25b0835e9b 100644 --- a/download_server.py +++ b/download_server.py @@ -13,11 +13,11 @@ os.chdir("/mnt/usb/bleezrdata") t = time() while True : tt = time() - if tt - t > 5. : + if tt - t > 3600. : print("actualisation ...") - os.system("echo actualisation ...") - + os.system('sudo echo "\n la dernière actualisation date de : " >> history.txt') + os.system('date >> history.txt') t = tt with open("playlists.json",'r') as f :