Forums

scheduled task errors

I'm getting the following error for two of my scripts because they hang indefinitely and I am forced to kill the process:

/usr/local/lib/python2.7/site-packages/pytz-2012c-py2.7.egg/pytz/__init__.py:35: UserWarning: Module gluon was already imported  from /home/davidk01/web2py/gluon/__init__.pyc, but /usr/local/lib/python2.7/site-packages is being added to sys.path
from pkg_resources import resource_stream
bash: line 1: 21376 Killed                  python /bin/run_scheduled_task.py 'python2.7 /home/davidk01/web2py/web2py.py -S test -M -N -R /home/davidk01/web2py/applications/init/modules/item_price_updater.py'

2012-07-18 13:33:49 -- Completed task, took 221.00 seconds, return code was 137.

This same code was working fine a day ago and I have tested it from the shell to make sure it works. Where there changes made to how scheduled tasks are run?

Never mind. I found the error. I was passing in the wrong argument for the application name. Sorry for the false alarm.