Hi,
Warning on this.
I believe this question relates to ESP. But it is similar for the other schedulers.
The problem happens if file "A" arrives today but file "B" never does. Then tomorrow, file "B" arrives first, the job starts. It will be triggered earlier than expected OR possibly it will run with one file from yesterday and one from today. This out of sync condition will continue until someone realizes it.
In ESP....
If this is at the event level, I would not do it. There is not an easy way to flag that the second file did not arrive today.
If it is at the application level then it is critical that overdue notifications happen if file "A" or "B" file did not show up. Someone needs to take action. Why didn't the second file show up and what needs to be done.
Overall, I would avoid this situation if at all possible. It is not a good practice and will cause a headache sooner or later.
Let me know if I "missed the boat"
2¢
Don