Forums

Script randomly closes itself without explanation?

I have a Python script that I've designed to sleep throughout the day and occasionally perform a few tasks. Sometimes I'll log in to check on it, only to find it's cleared the console and exited to the ">>>" prompt. There's no explanation from P.A. about what happened, and there's nothing in my code to create this state intentionally. I only use about 50 cycles a day with this script alone, so I can't blame the tar pit. It'll just be running perfectly fine and then... nothing. Is there any way I can find out what's going on to create these conditions?

for consoles, they are periodically rebooted for server maintenance. if you want to keep something constantly running, try setting it up as an always on task in the tasks tab.

I didn't know about that! Thank you so much. Very helpful!

Will this open a console that I can read from? I set up an Always On task but so far it hasn't put a Console in my list

I got it! All set. Thanks for everything! I love this website.

nope, it won't open a console, but you can certainly log outputs somewhere. Glad you got it working!