I have a Hazel rule that fires a Python script to do multiple actions on an Excel sheet produced by an external system once a week and then bring the data to a main Excel sheet. Once everything is done, it deletes the weekly file.
Since the weekly Excel files is getting bigger and bigger each week, running the Python script takes a very long time so I would like to monitor the time the script takes to run.
Do you know if there’s a way to show in the notification at the end of the rule the time it took to run?
I have an idea of monitoring the time with Python, store it in a variable and then display it, but I’m sure there’s a better way.