Do not forget -N python web2py.py -S myapp -M -N
else you will get cron tasks that eat memory. On Jun 15, 5:53 pm, Carlos <carlosgali...@gmail.com> wrote: > Hi, > > Is it possible to start web2py in the shell as if it was a (long) web > request (with a login user and/or reusing an existing session)?. > > I want to do some interactive testing in the shell as if I was already a > login user (recognized by a session or via explicit login credentials) since > the beginning (including the loading of models, i.e. models knowing that > this "long web request" is for one specific user or session). > > Is this possible?. > > I usually start web2py shell with: python web2py.py -S myapp -M > > Thanks, > > Carlos