I don't plan to run long running tasks on Pythonista. Just noticed that it died after autolock while I was running some tests using mqtt. The actual log processing will run on a dedicated Pi.
Thanks for the link ccc.....I've added the console.set_idle_timer_disabled() call and will see if that helps.
Any way to put a custom icon on your iDevice home bar or a page to automagically start a Pythonista script? Be nice to be able to write cool scripts and be able to initiate them just like a native IOS app.