python send request every X minutes within N hours code example
Example 1: run every minute python
from time import time, sleep
while True:
sleep(60 - time() % 60)
# thing to run
Example 2: python wait for x seconds
import time
x = 1 # Put in whatever seconds you want it to wait
time.sleep(x)