extremely vague Python debug question 

I understand this is super vague, but if I have a Python script that I want to run 24/7, but every so often it just stops working (but doesn't error out)...

anything I should check that I might not have thought of?

Follow

extremely vague Python debug question 

@schlink maybe
If Python doesn't give an error, maybe the exit code could give you a hint.

Another possible solution would be to put the code you want to run into a function and triggering it from outside. Maybe through a cronjob. But this depends on the application you want to write.

Sign in to participate in the conversation
norden.social

Moin! Dies ist eine Mastodon Instanz für Nordlichter, Schnacker und was sonst noch so aus dem Norden kommt. Administriert wird der Norden von Niklas & Benny. Zusätzliche Moderator:innen sind Marius und Kurzi.
Bitte gebt bei der Registrierung einen kurzen Text ein. Das erleichtert uns euch schneller freizugeben.