In fact, seems that it doesn't work on webfaction...

On Mon, Mar 14, 2011 at 9:15 PM, Tito Garrido <titogarr...@gmail.com> wrote:

> Not sure why but cron never worked for me...
>
> 0-59/1 * * * * root *admin/test
>
> def test():
>     mail.send('titogarr...@gmail.com','test','testeeeee')
>     return 'test'
>
>
> Nothing happens... I've tried locally and on webfaction...
>
> What I am doing wrong?
>
> Also how can I use external cron? I couln't figure out where I can specify
> the controler function on the book example:
>
> 0-59/1 * * * * web2py cd /var/www/web2py/ && python web2py.py -C -D 1 >> 
> /tmp/cron.output 2>&1
>
>
>
> Regards,
>
> Tito
> --
>
> Linux User #387870
> .........____
> .... _/_õ|__|
> ..º[ .-.___.-._| . . . .
> .__( o)__( o).:_______
>



-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

Reply via email to