What's the best way to handle a restart/redeploy/remove in Python?
Basically what I want to do is to save certain data in my DB once the deployment is restarted/redeployed/deleted. So what would be the best way to handle that?
Project id: 76c5996c-90fb-4227-8874-9e31865b416a
7 Replies
Project ID:
76c5996c-90fb-4227-8874-9e31865b416a
You might find these helpful:
- Is there an easy way to restart my app?
- Flask Deployment Help
- Help with redeploy
⚠️ experimental feature
id say a webhook would be the best way to go about that
is there any documentation about it?
hmm, I'll see how I can integrate that into my app
thanks!
no problem!