absolutely not clear what you want, but i guess a simple db(db.scheduler_task.function_name = 'yourfunction').select(db.scheduler_task.next_run_time, db.scheduler_task.last_run_time)
will fetch the values to use in that function call you need. On Saturday, January 19, 2013 9:04:34 AM UTC+1, mweissen wrote: > > Hi, > > a question about the scheduler: > > The scheduler calls a function f() 12 times per hour. db.scheduler_task > knows the last_run_time and next_run_time. > I want to call the function f with these two values as arguments. Is there > a simple way? > > Regards, Martin > > > --