Karim_Azzouzi_8427

File Order

Discussion created by Karim_Azzouzi_8427 on May 30, 2017
I created an event which monitors a dedicated folder. 
If there are *.* Files then do ....(!Script)..... aso. 
Now i need to control the order from those files. I example, i need to work with the oldest to the latest file. 

How can i configure that? 

The workaround is to create a new Unix job with LXDIQSCI server 
in process tab 
<Go to your xml directory> 
find -name "DIQS_PR_*.xml" -type f -printf '%T+ %p\n' | sort | head -n 1 > out.txt 

Now use the out.txt in your script pre_process_file 

Outcomes