You could try adding standard python logging statements to try to figure 
out what's happening.

Edit <web2py-root>/logging.conf and add an entry for your app following the 
instructions in the file.  Then in scheduler.py:

import logging

def your_scheduled_function():
    logger = logging.getLogger('web2py.app.your_app')
    logger.debug('BEGIN: your_scheduled_function')
    ...



Then check <web2py-root>/logs folder for the log output

On Tuesday, February 11, 2014 5:06:21 AM UTC-5, Jayadevan M wrote:

> How can I debug a scheduler task that goes into RUNNING status and never 
> changes to any other status? The same function, when called from web2py in 
> shell mode, does what it is expected to do and exits normally.
>

-- 
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/groups/opt_out.

Reply via email to