I did this by creating a new Task sub-class called RunOnce, and using that to
## This class lets us just run a task once via Scheduler.schedule_task() class RunOnceTask(scheduler.Task): def reschedule(self, scheduler): # We don't reschedule! pass then we do something like: task = RunOnceTask(task_name, task_func, arg_list, keywords) scheduler._scheduler_instance.schedule_task(task, 0) hope this helps! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to turbogears@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---