On Dec 2, 2:35 pm, Astley Le Jasper <[EMAIL PROTECTED]> wrote:
...

Try using the "screen" utility - change the line in your crontab:
cd /home/myusername/src && python myscript.py
to
cd /home/myusername/src && screen -dmS mypthon python -i myscript.py

then once cron has started your program attach to the console using
>> screen -r mypython

(using python -i leaves you at the python prompt if the script just
terminates)

I email myself and drop into the pdb debugger on an exception, then
use screen to debug the system
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to