>
> the scheduler_run run_out is 
> ['1']
> 1
> 2
> 5
> CVE-2017-6274
> http://cve.scap.org.cn/CVE-2017-6274.html
> 6
> no except and 6 is print 
> but 
>
>  
> db.get_data.update_or_insert(db.get_data.title==i.get_text(),title=i.get_text(),get_from='cve',
>                                 
> get_url=i.get('href'),get_time=now,data_condition=condition[0],bug_num=i.get_text())
> is no run,can you tell me why?
>
> In scheduler tasks, you must call db.commit() to commit transactions to 
the database. web2py does this automatically on HTTP requests, but the 
scheduler is not making an HTTP request to web2py.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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/d/optout.

Reply via email to