Scan the list of the files from tfilelist1 where currentdate-filedate>5 minutes
I want to pick the files that are not being written into the folder yet and to ensure that they are completely written onto the folder and then pick them up for processing,so the condition should in tjava should be like for every iteration for .csv files:
"currentdate-filedate>5 minutes"
currentdate=TalendDate.getCurrentDate();
what do i pass in for the filedate?
So to compare the difference if its more than 5 minutes?