Dear All,
I have used the turbogears time interval scheduler.
But it is not working constantly.
It is running on the time interval of 30mins. Its run properly
for 5 to 6 times after server started, but at the some point it is not
starting (Scheduler itself is not invoking)
For your information
my code-->
def generateWorklistFile():
try:
RISGenerateWorklistFile.RISGenerateWorklistFile(radactions)
except Exception,e:
log.info("Error in starting -- Generate worklist file %s",e)
try:
scheduler.add_interval_task(action=generateWorklistFile,interval=int(timeDelayInGenerateWorklistFile),initialdelay=0,taskname="generateWorklistFile")
scheduler._start_scheduler()
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.