Hi all -
I’ve been trying to figure out how to implement check_file –
What I need to do is check to ensure that there are greater than X number of files in a folder, dated less than 48 hours.
This is for ensuring that a backup job has run, and created all the files necessary.
I see lots of samples for checking for too many files - people looking for log directories not getting rotated,etc.
But I’m trying to do the reverse – ensure that there ARE files in a directory-
Any clues or am I just being obtuse and not seeing the syntax right in front of me?