Not really. You can use time.sleep in your script to pause for a certain amount of time, but this won't work well if you don't have Pythonista open in the foreground. Apps running in the background are often terminated by iOS after a while when memory is needed by foreground apps. This means that you can't run any long-running background tasks with Pythonista.