> Now, i only need to link these processes (trigger completion and running the > script). > How can i do it with Listen / Notify? Issue a notify in the end of the > trigger and a listen on the python script?
Along with the link I sent earlier to the psycopg2 section, assuming you are in fact using psycopg2 as your database connector. I suggest trying out the psycopg2 example in their docs verbatim first, then adapting the example to your own code.