added time print during sleep periods

This commit is contained in:
Death916 2025-02-21 02:25:41 -08:00
parent ac2235e532
commit ed923045ad
2 changed files with 5 additions and 0 deletions

3
requirements.txt Normal file
View file

@ -0,0 +1,3 @@
beautifulsoup4==4.12.2
requests==2.31.0
schedule==1.2.0

View file

@ -210,6 +210,8 @@ if __name__ == '__main__':
# Keep main thread alive with minimal resource usage
try:
while True:
print("waiting for timer")
print("time is: ", datetime.datetime.now())
time.sleep(3600) # Check once per hour
except KeyboardInterrupt:
print("\nStopping scheduled downloads...")