I want to write a target to delete all items that are after a particular date.
Before I roll this out, I wanted to test my functionality in the following manner: -create a file -sleep 2 min -create a file -sleep 2 min -create a file -sleep 2 min -create a file
-take a timestamp -delete all files older than timestamp -2 min
every time I run this it deletes all my files vs just the ones that are currenttime-2min old.