Relevance to run action when latest file in folder is older than 30 min

I have created a fixlet that will restart IIS. I want to deploy it as a policy to run any time the newest file in a specific directory is older than 30 min and I have no way to figure that out or where to start. Please help. Thanks.

First you need a Relevance to detect if the newest file is less than 30 minutes old:

Now - maximum of modification times of files of folders "c:\some\path" < 30 * minute

Test that works as expected, and then send your Action with setting “Reapply whenever it becomes relevant again”, or “Reapply while relevant, waiting 30 minutes between reapplications”.

Thank you! that’s exactly what i was looking for.