http://code.google.com/p/web2py/issues/detail?id=411

2011/9/5 Brian M <bmere...@gmail.com>

> OK, I've got the scheduler reliably (I think) working now under Linux - I
> just changed my patch mentioned above a bit to make it so that WEB2PY_PATH
> would work even if you didn't launch from the same folder as web2py is in.
>
> At line 61, replace:
>
>
> if 'WEB2PY_PATH' in os.environ:
>     sys.path.append(os.environ['WEB2PY_PATH'])
>
>
> with:
>
>
> if 'WEB2PY_PATH' in os.environ:
>     sys.path.append(os.environ['WEB2PY_PATH'])
> else:
>     os.environ['WEB2PY_PATH'] = os.getcwd()
>
> Unfortunately, this doesn't seem to do it for Windows, will have to
> experiment a bit more there.
>
> ~Brian
>



-- 
 http://martin.tecnodoc.com.ar

Reply via email to