Solved.
Thank you
2017-01-31 17:15 GMT+00:00 Leonel Câmara <[email protected]>:
> Yeah that's what I thought. host=True makes URL use request.env.http_host,
> except the scheduler doesn't have a real request so it becomes 127.0.0.1.
>
> Instead of host=True put the actual domain host='ramos.com' or read it
> from a config host=myconf.get('host.names')[0], something like that.
>
> --
> 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.
>
--
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.