> 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 froma
>                         system crontab
>
> Do they change anything?
>
>
I don't use those flags, I suspect they are for the internal web2py cron 
process.



> Another question... My cron.txt is full of:
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2012
> Version 2.0.7 (2012-09-04 17:58:46) stable
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), MySQL(MySQLdb
> ), PostgreSQL(pg8000), CouchDB(couchdb), IMAP(imaplib)
>
> I would like to remove this but if I run with -Q flag, then I can't see 
> script output and I cannot see the traceback if there is an exception.
>

Use the  --no-banner flag, removes that.  I also use the --no-gui flag for 
good measure when running from cron.

HTH,
JC

-- 



Reply via email to