This is one of the ways to do it but it requires web2py cron enabled.
You you have a production server running for example apache you may
need a second web2py process to run cron.

On May 17, 1:37 am, annet <annet.verm...@gmail.com> wrote:
> To clean up sessions I ran the following command:
>
> me:~ i$ cd /Library/Python/2.5/site-packages/web2py
> me:web2py i$ cp applications/admin/cron/crontab applications/init/cron
> me:web2py i$
>
> The crontab file in the init app now reads like:
>
> 10      *       *       *       *       root 
> **applications/admin/cron/expire_sessions.py
>
> I wonder whether this is correct and whether this a local setting or
> works on the server as well.
>
> Kind regards,
>
> Annet.

Reply via email to