it's by design.... if the function doesn't return a value, then you don't
need a record to store the result ^_^
try returning something from your function and you'll see that the record
will remain.
e.g.
you have
def mytask():
#---- do something....
switch it to
def mytask():
#---- do something
return 1
On Wednesday, April 24, 2013 8:15:39 PM UTC+2, DeanK wrote:
>
> I've been debating using the baked in scheduler and figured I'd try it out
> first before fighting to get celery running with web2py. I have a task
> that uses Popen to run an external program, processes the result, and
> returns. When I run this with the scheduler, an entry in scheduler_run is
> created. From what i can tell once the task completes, the entry
> disappears. The entry in scheduler_task says "COMPLETE" for the task, but
> I have no insight into what just happened since there isn't an entry in
> scheduler_run for the task! Thoughts on what is going on or how to debug?
> Thanks,
>
> Dean
--
---
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/groups/opt_out.