r/buildinpublic • u/Discordbothost • 2h ago
A Python script exiting can be a successful deploy
A Discord bot should still be around to answer the next command. A Python script that sends a daily report can exit as soon as it’s finished.
When we added Python hosting to Bothosting, we gave scheduled scripts their own deployment type. The schedule uses UTC. If the previous run is still going when the next one is due, the scheduler skips that run. Both details belong in the docs because either one can explain a run you expected to see.
I run Bothosting. Here’s the page we point people to when a job misses a run. https://bothosting.dev/hosting/blog/python-scheduled-job-missed-runs/
1
Upvotes
1
u/Known_Grocery4434 1h ago
Gobbless your efforts