Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python script that executes at time

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: #python #script #executes #time
ADD COMMENT
Topic
Name
6+1 =