>
> Is there any way that web2py can at least *tell* me that there's a new 
> version available? 
>

Not automatically, though the home page of the admin app indicates when an 
update is available.

I suppose you could write a Python script to check the version and run it 
via a cron job:

check_version.py:

from gluon.admin import check_new_version
is_new, latest_version = check_new_version(request.env.web2py_version,
                                           
'http://web2py.com/examples/default/version')
[code to do something, such as send an email, when is_new is True]

You could run that in a web2py environment:

python web2py.py -S admin -R check_version.py

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