Use this one?

 */1     *       *       *       *  *my_app/abc/get

You can print some info from get, and then confirm that you can see it
from console which startup you web2py.py.

ps, db.commit () works for me.

On 5月7日, 下午4时48分, mika <[email protected]> wrote:
> Hello!
>
> I'm new to web2py. I have a problem with cron - it seems that it
> doesn't work. Could you tell me what line exactly should be in file
> crontab? application is called "my_app", name of controller is "abc"
> and the name of function is "get". I would like to run function every
> minute.
>
> the line
> *     *       *       *       *  *my_app/abc/get
>
> is in file my_app/cron/crontab. What's wrong?
>
> regards,
> mika
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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