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

Reply via email to