There is a logical problem. the web server and cron are two processes and therefore they should be threated as two different services or there should be a mechanism to start and stop them both. Right now the windows service only handles the web service.
The cron code needs some cleanup because right now it is spread over multiple modules. I'd rather do the cleanup before adding cron to win service. Massimo On Dec 4, 4:32 am, SergeyPo <[email protected]> wrote: > Hello, > > I am having problem with cron. My crontable: > > */5 * * * * root *default/getcaptypes > > Controller method 'default/getcaptypes' works fine when you call it > directly. It works fine when called by cron when web2py is running as > console. But it is not working when I start web2py as windows > service. > > Options file contains: > > extcron = None > nocron = None > > Where else should I look? > > Sergey -- 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.

