Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
16 lines (12 sloc) 302 Bytes
import schedule
import time
import datetime
from runEachWeek import getAndSend
def job():
getAndSend()
print("Program executed at", datetime.datetime.now())
# UTC = Pacific Date Time + 7
schedule.every().wednesday.at("18:00").do(job)
while True:
schedule.run_pending()
time.sleep(1)
You can’t perform that action at this time.