fix issue with scheduler namespace. Thanks @limedrop for spotting this.

https://groups.google.com/d/msg/web2py/itMQc2OnA3w/EUwHytOrxcsJ