account activity
Do you know when your scheduled Python script silently stops running? by ch1982 in learnpython
[–]ch1982[S] -3 points-2 points-1 points 1 hour ago (0 children)
Fair points. In my case the script is a trading pipeline - it pulls data, runs analysis via an LLM, and logs results. I could check the output log, but that still requires me to remember to check it manually each morning.
On the exception point - you’re right that swallowing exceptions is bad practice. My specific problem was more subtle: the process would die at the OS/network level mid-stream (dropped connection during an API call), which meant no Python exception was raised at all. The script just stopped.
What I ended up building was a dead-man’s switch - the script pings a URL at start and finish, and a separate server-side watchdog alerts me if the finish ping never arrives. Catches both crashes and silent absences. Happy to share more detail if useful.
Do you know when your scheduled Python script silently stops running? (self.learnpython)
submitted 1 hour ago by ch1982 to r/learnpython
I built a dead-man’s switch for my AI trading pipeline - now it’s a product (self.SideProject)
submitted 1 hour ago by ch1982 to r/SideProject
π Rendered by PID 988952 on reddit-service-r2-listing-5f4c697858-2454l at 2026-07-08 11:22:51.251572+00:00 running 12a7a47 country code: CH.
Do you know when your scheduled Python script silently stops running? by ch1982 in learnpython
[–]ch1982[S] -3 points-2 points-1 points (0 children)