On Saturday, January 7, 2017 at 1:57:36 PM UTC-5, Brendan Barnwell wrote:
>
> The shared functionality involves DB access, so as far as I can tell it 
> cannot be abstracted into modules that would then be imported with a normal 
> import.
>

You can use the DAL from modules as well. As Niphlod suggested, you can 
also use the scheduler to schedule and run a task in the context of another 
app, though that might not be as fast as you'd like, as even setting 
immediate=True, it could take up to "heartbeat" seconds for the worker to 
pick up and execute the task, and then you have to check for the results.

Anthony

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to