How to stop a scheduler stated using

Nagendra Kumar btnkumar at gmail.com
Fri May 18 03:00:57 EDT 2007


Hello ALL,

I am trying to schdule some of my class methods using sched module of
python

import sched, time
s=sched.scheduler(time.time, time.sleep)

event1=s.enter(60, 1, obj.scheduleAbuseAssignment1, ())
event2=s.enter(60, 1, obj.scheduleAbuseAssignment2, ())
event3=s.enter(60, obj.scheduleAbuseAssignment3, ())

Is there any way to stop these scheduled events?If so, can we do it
through a UI

Thanks in advance.

Regards,
- Nagendra Kumar




More information about the Python-list mailing list