As Massimo says -N will disable cron. The two cron tasks you see
should be expiring sessions to avoid piling up of files in the session
dir.

Note that if you use extcron, the web2py serving the pages is not the
parent (so killing it does nothing to those started by the system
cron)

On Feb 1, 10:49 pm, MikeEllis <[email protected]> wrote:
> Just upgraded to 1.74.9  After restarting the server I noticed two
> persistent cron processes. My app isn't using cron.  App seems to be
> running fine, just wondering why the extra processes.  I'm sure
> they've never been there before.  Similar results after upgrading
> under Snow Leopard on a Mac.
>
> Here's how I start the server.
> web...@cloud:~$ !nohup
> nohup python web2py/web2py.py -argrap -i173.203.204.205 &
> [1] 11202
> web...@cloud:~$ nohup: ignoring input and appending output to
> `nohup.out'
>
> Here are the processes that match 'web2py'.
> web...@cloud:~$ !ps
> ps ax | grep web2py
> 10789 pts/0    S      0:00 su - web2py
> 11202 pts/0    Sl     0:00 python web2py/web2py.py -argrap -
> i173.203.204.205
> 11213 pts/0    S      0:00 /bin/sh -c /usr/bin/python web2py.py -P -N
> -S admin -a "<recycle>" -R applications/admin/cron/expire_sessions.py -
> P -N -M -S init -a "<recycle>" -R applications/init/cron/crontest.py
> 11217 pts/0    Sl     0:00 /usr/bin/python web2py.py -P -N -S admin -a
> <recycle> -R applications/admin/cron/expire_sessions.py -P -N -M -S
> init -a <recycle> -R applications/init/cron/crontest.py
>
> Thanks,
> Mike

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to