Making the scheduler work wasnt easy for me either. You said earlier the db 
was being flooded which is a good sign, the scheduler is working.
As for the parameters take a look here:
http://web2py.com/books/default/chapter/29/04#Complete-Scheduler-signature
And here:
http://web2py.com/books/default/chapter/29/04#queue_task-

You will also have to check wether the task has been added so you dont 
assign the task everytime you visit the page.
This is done by asking the database directly or use sched.tasks if i recall.
Something like
def sched_running():
    return db((db.scheduler_task.status.contains(["QUEUED", "RUNNING", 
"ASSIGNED"], all=False)) ).count()



-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to