Could you try my web2py branch from https://code.launchpad.net/~achipa/web2py/cron ? This is 1.61.4 merged back to my cron branch.
On Apr 22, 3:36 pm, Iceberg <iceb...@21cn.com> wrote: > Achipa, I do not use extcron. In my usage, it should be a hardcron. > > In this mail I attach the crontest app. All the trick is in cron/*.*, and one > action in controllers/default.py. This mail is copied to all, so that any > volunteer can have a test also. (Mind that you need to unzip it before using.) > > So far, there is no significant behaviour you can notice, but if cron does > work, you should be able to see this line appended into httpserver.log in > every minute: > > 127.0.0.1, 2009-04-22 21:31:01, GET, /crontest/default/trigger, HTTP/1.0, > 200, 0.008107 > > Feel free to tell what more I can do for you. > > Best regards, > Iceberg, 2009-Apr-22, 21:25(PM), Wed > > ----------------------- Original Message ----------------------- > From: AchipA <attila.cs...@gmail.com> > To: web2py Web Framework <web2py@googlegroups.com> > Date: Wed, 22 Apr 2009 04:28:19 -0700 (PDT) > Subject: Re: Issues about cron > > ------------------- > > > Woo, now you got me blinking (I have over a dozen linux boxen running > > various cron modes). Can you package me a sample app that demonstrated > > this so we're literally looking at the same thing ? If you use > > extcron, make sure to include your system crontab. > > > On Apr 22, 10:03am, Iceberg <iceb...@21cn.com> wrote: > > > On Apr17, 3:44am, AchipA <attila.cs...@gmail.com> wrote: > > > > > Linux definitely works, all crom modes, I have it in production in all > > > > three modes. Had no Mac reports so don't know about those. > > > > Achipa, to upset you again, today I deploy my app on Linux for my > > > first time, and find that similar problem on my Windows XP still > > > happening on Linux too. :-/ Again, since I have kind of workaround, > > > so that is fine for me, just posting here to let you know. > > > > I am using: > > > ubuntu server LTS 8.04 (Linux datacenter 2.6.24-19-generic #1 SMP > > > Wed Aug 20 22:56:21 UTC 2008 i686 GNU/Linux) > > > python 2.5.2 > > > web2py_src.zip 1.61.3 > > > > I started a single web2py by: > > > python web2py.py -i 0.0.0.0 -p 8081 -a1 -D0 > > > but get no cron feature. > > > > If I replace the cron.py 0.1.1 in web2py_src.zip by the cron.py 0.1.0 > > > from web2py 1.56.4, ok, the hardcron works. > > > > web2py.app.crontest.zip > 75KViewDownload --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---