Python mod sched question
I've tried asking this same question on a few other forums but I've gotten no response. Maybe the question is worded poorly? Anyhow, given the following...
[cd@localhost oakland]$ more basic.py
[cd@localhost oakland]$ ./basic.py
scheduler = sched.scheduler(time.time, time.sleep)
print 'EVENT:', time.time(), name
print 'START:', time.time()
scheduler.enter(2, 1, print_event, ('first',))
EVENT: 1240584508.06 first
How do I modify basic.py so that it runs every hour on the hour on its own without using crontabs or anything like that.