I'm trying to run something after the Flask server has started. The only thing I found is to run another thread with sleep. How can I do this?
this is not a duplicate because i need the server to listen when the method i want to run, executes.
i want to notify the server that sends requests to my server that my server is listening. the problem is that the other server checks if my service is up.