I've checked but nothing found.
If I try to clean sessions from admin panel I can do it.

Il giorno venerdì 6 febbraio 2015 00:50:18 UTC+1, Massimo Di Pierro ha 
scritto:
>
> Is it possible you upgraded web2py but you have an older session2trash 
> running?
>
> On Thursday, 5 February 2015 17:17:56 UTC-6, Ivan Gazzola wrote:
>>
>> #!/bin/bash
>> while IFS= read -r app; do
>>   python /www/web2py/web2py.py --nogui --no-banner -S $app -M -R 
>> /www/web2pyscripts/sessions2trash.py -A -o -x 28800 -f 
>> >>/www/web2py/clean.txt 2>&1
>> done </www/web2py/applications/list_app.txt
>>
>>
>> I'm trying to clean sessions for many applications with a cron job.
>> I've stored all application names in list_app.txt, the file is like:
>>
>> app1
>> app2
>> app3
>> ....
>>
>> When I run the script web2py start regularly but don't clean sessions.
>> I've tried also  replacing $app with a real application name (instead of 
>> a variable), but nothing happened indeed.
>> Any suggestion?
>>
>> Thx
>>
>> Ivan
>>
>

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