Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to do something daily python

import schedule
import time

def job(t):
    print "I'm working...", t
    return

schedule.every().day.at("01:00").do(job,'It is 01:00')

while True:
    schedule.run_pending()
    time.sleep(60) # wait one minute
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #daily #python
ADD COMMENT
Topic
Name
4+8 =