Thanks. For each app, I will add a line to web2py.ini like
python /var/www/web2py/web2py.py -Q -S myapp1 -M -R
scripts/sessions2trash.py -A -o
python /var/www/web2py/web2py.py -Q -S myapp2 -M -R
scripts/sessions2trash.py -A -o
?


On Wed, Dec 18, 2013 at 1:26 AM, Niphlod <niph...@gmail.com> wrote:

> here
> https://github.com/web2py/web2py/blob/master/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh#L145
> uwsgi takes care of it with the default setup, with the added bonus that
> the user running uwsgi has all the necessary permission to run that script.
>
> On Tuesday, December 17, 2013 7:04:19 AM UTC+1, Jayadevan M wrote:
>>
>> I have
>>          [uwsgi-cron] command "python /var/www/web2py/web2py.py -Q -S
>> welcome -M -R scripts/sessions2trash.py -A -o" registered as cron task
>> in my uwsgi log (because the cron is mentioned in the config file for
>> uwsgi).
>> Under which user/how can I really see this cron entry?
>>
>>  --
> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/3Sqo8gQ7ya8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to