I have an app using the scheduler the old-fashioned way. I have a model which sets up the scheduler. myscheduler = Scheduler(db,dict(import_task_add=import_task_add))
The model also defines the task which the scheduler runs. However, the scheduling of a job is done by a controller, after the user provides some job parameters. Under the old approach, I start the job by inserting a record in table db.scheduler_task Now, I want to use immediate=True which is not a column in the table; I have to use scheduler_instance.queue_task and then in the controller I try result_ID=myscheduler.queue_task(import_task_add, pvars='...'}, immediate=True, timeout = 600) but it's silently failing. I don't get an entry in the scheduler tables. Doing it in the controller is the least change starting from my current code, but is this the wrong approach? -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.