So I am using the trunk version, and finally got scheduling to run, however 
i'm encountering several problems (i'm assuming mostly due to my lack of 
understanding).

Problem A) First off, for a while, when the workers ran the database that 
showed results worked. However now, workers run my script but there is no 
result in the scheduler_task table. I can see that the task has been run 
b/c the "times run" has been iterated by 1, but still no result. I tried 
deleting all rows, but none are being added. How can I troubleshoot this?

Problem B) What global application variables are available from tasks.py? I 
would like to access two objects, namely the database, as well as the 
folder/location of the run script (tasks.py). I could hardcode it but I 
feel that's bad practice. If possible i'd also love:

Problem C) And example or short snippet of adding an entry to a db from 
within a task, if it's any different from within the models themselves. 
Thanks!

I'm really enjoying the flow of web2py, I hope that someone can help out 
with this!

`M

-- 

--- 
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.


Reply via email to