V
VYAS ASHISH M-NTB837
Dear All
How do I write a code that gets executed 'every x' minutes?
I know how to do it 'after x' minutes, I do the following:
def doAtTimerFire():
""" The things I want to do 'after x' minutes go here. """
And then from main code, I do this:
tmr = threading.Timer(timeInSeconds, doAtTimerFire)
tmr.start()
Sorry about the earlier post with wrong subject line.
Please help.
Regards,
Ashish Vyas
How do I write a code that gets executed 'every x' minutes?
I know how to do it 'after x' minutes, I do the following:
def doAtTimerFire():
""" The things I want to do 'after x' minutes go here. """
And then from main code, I do this:
tmr = threading.Timer(timeInSeconds, doAtTimerFire)
tmr.start()
Sorry about the earlier post with wrong subject line.
Please help.
Regards,
Ashish Vyas