On 28 abr, 16:11, mdipierro <mdipie...@cs.depaul.edu> wrote: > Do not use threads for background processes. Use an actual seperate > process > > python web2py.py -S app -M -R applications/app/private/ > process_script.py > > You can have it start by web2py cron >
A cron do not need it, since it must be the user who launches the process. Running the script as you said, how to access the same to application context: db, session, etc. I use subprocess to run? Jose