changedetection.io/backend/dev-docker/sleep.py

9 wiersze
147 B
Python

import time
import sys
print ("Sleep loop, you should run your script from the console")
while True:
# Wait for 5 seconds
time.sleep(2)