Thanks for your help   Def read the book but struggled a bit. 

I ended up using the unix cron tab and got it working. 

Thanks again for taking the time to respond.  

Sent from my iPhone

On Apr 15, 2013, at 10:08 AM, Niphlod <[email protected]> wrote:

> hi, you're mix/matching the available options.
> First of all, if your system has an available cron, use that. web2py's cron 
> is not as accurate as unix one.
> If you want to leverage cron, at least read the section in the book that 
> speaks of it
> http://web2py.com/books/default/chapter/29/04#Cron
> 
> If you instead have a python script that needs to be run within the web2py 
> environment of your app (so you can access db, etc etc etc), you can use with 
> the "standard" cron this syntax
> 
> python web2py.py -M -S yourappname -R /path/to/scriptname.py 
> 
> Remember that * and ** used before the command  (like your example -R 
> *applications/sms_test_protocol/test_cron_jfh ) are only available in 
> web2py's cron (they are shortcuts to enable -S and -M respectively). 
> 
> 
> -- 
>  
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "web2py-users" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/web2py/-aKve0DnTbg/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to