How to use the Trigger to calculate iteratively in rhino 7

Hey~
I’d like to do a calculation whenever a new input file is generated. I tried to connect a trigger to a filepath, to check whether the file is existing at a 15 mins interval, but it seems that my calculation was not triggered when the file was generated. May I ask how can I achieve this loop?