I'm creating a sensor to monitor the age of files in a specific directory, I want to monitor the age of the files, if they are older then 5 minutes, I need an alarm. In a directory with no subfolders is works fine. In a directory with subfolders, the sensor detects also older files in the subfolder, but I don't want them to be alarmed.
I've put on "Do not recurse subfolders", but that doesn't do the trick. Any suggestions ?