Use web2py's scheduler to queue tasks instead of directly inserting into the scheduler_task table.