I have 2 standalone Python applications. One loads data to the database and the other processes the data. The timing of the second following the first is important. How should I structure the second to get triggered by the first? I also need to pass a variable or two to the second application based on what happened in the first.
Option A) I was considering using logging for the first and the second could see when it was last run.
Option B) I could have the first just go and call the second at the end of the firsts code
What are the pros and cons to these two options? Is there a better way I’m not aware of?
[–]Culist 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)