Forum Archive

Running script in the background

buzzdenver

I have a script that is supposed to run in a loop: it requests a URL, then sleeps for 60 seconds. What I am seeing is that it usually stops executing once the app is not in the foreground. Any way to fix/debug this?

cvp

@buzzdenver It is not a bug but a limitation of Pythonista and or iOS. It does not run in background.
If you search in this forum, you'll find a lot of occurrences about this subject.
But Pyto app supports it, by simulating a music app.