> 
> But I see web2py has some flags and I am not sure should I use them or not. 
> Does it matter?
> 
>   -J, --cronjob         identify cron-initiated command
>   -C, --cron            trigger a cron run manually; usually invoked from a
>                         system crontab
> 
> Do they change anything?
> 
> 
> I don't use those flags, I suspect they are for the internal web2py cron 
> process.

Using system/external cron, you should use the -J flag. 

And --nobanner is a good idea, though I've submitted a patch to make -J 
suppress the banner as well.

Depending on what you're trying to accomplish, you're probably better off 
running web2py requests from a system crontab using -S, instead of using 
web2py's -C extcron facility.

-- 



Reply via email to