Thank you! Martin
Jose C <[email protected]> schrieb am Di., 28. Juli 2020, 10:53: > Just FYI, the web2py book states: > > Try to avoid web2py cron, and use a background process instead. web2py >> cron can start too many Python instances and cause excessive memory >> usage. >> > > Using scheduler means an additional long running process using up memory > to monitor and manage the scheduler. > > I'd recommend using your system crontab to run any background processes. > This can be invoked within the full web2py environment (if needed) from > crontab as follows: > > # Runs every 5 minutes. > */5 * * * * python3 /path/to/web2py.py --no_gui --no-banner -S > <web2py_app_name> -M -R /path/to/process/background_process.py > > HTH, > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/web2py/4cb3cc28-fb91-4459-b221-695f8219da01o%40googlegroups.com > <https://groups.google.com/d/msgid/web2py/4cb3cc28-fb91-4459-b221-695f8219da01o%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/CAMcwXCcScRJvyd91ZoHL4wMFEi-BKk50tRntd4kg%3De0n%3DhvtVQ%40mail.gmail.com.

