File Order

Discussion created by Karim_Azzouzi_8427 on Dec 18, 2017
Latest reply on Dec 19, 2017 by Josef_Scharl_103

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? 

Thank you 

Okey here is my workaround ,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