On Aug 9, 6:13 pm, Fran <[email protected]> wrote: > The video is very useful - thanks :) > > I have problems under Windows with > python web2py.py -K app > > I guess this is due to MultiProcessing
Can you check whether it is a reporting thing only but it is doing the work? > It works fine with: > python web2py.py -S app -M -N -R scheduler.py > > Where that file contains: > current._scheduler.worker_loop(heartbeat=20) > > However I don't get any feedback on status or anything. > > I'd also love to see it possible to start as a secondary process from core > Web2Py We could add a command line option to start it before starting web2py. What I would like to prevent is using scheduler and cron at the same time. This would create too many processes. > If cron worked in Windows service mode then @reboot would be perfect, but it > doesn't so I'd need to freeze a 2nd web2py instance & add a 2nd service > wrapper? I did not know cron does not work under windows. It used too. Can you tell us more? When did it get broken? > Seems like it would be more complex & bloated than necessary (not for the > scheduler itself of course, but for Python & all Libs) > > Cheers, > Fran.

