there's nothing fancy in the scheduler that alters the environment at runtime: it's no different from a web2py shell. can you post your routes, your "desired urls" and the code that generates them ?
On Friday, April 24, 2015 at 6:37:43 PM UTC+2, Lisandro wrote: > > I'm using parametric based routes for mapping each domain with its > corresponding app. Because of this, when I use the URL() helper, the > application name isn't included in the resulting url, and that is perfect > for me. However, inside a scheduled task, the URL() helper generates urls > including the app name. > > Both urls (with and without application name) work ok. But considering > they are urls for public content, I don't like the idea of having two > different urls with the same content, I think it could be > counter-productive for SEO and related stuff. > > Is there a way to avoid the inclusing of app name in urls generated from > sheduled tasks? > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.