Is it possible to add another command that checks the creation and written time as well?
There are going to be multiple files with *.dat but we want to make sure that the script checks for a file that was a created and written an hour before. ( As the check happens at 6 am so the file should be created and written in between 5 am and 6 am)
Hope that makes sense.
Thanks again for all your help.