heyday2004
asked on
Check if a file exists every 5 seconds in Spring?
What was the good and simple practice in Spring when you want to periodically check for a flag file in a certain directory? i.e. if there is that flag file, pause for 5 seconds and check again; If there is no flag file, then proceed to next step. I think we could use Thread.sleep or Timer, but still want to get some expert answer on any simple solution. Thanks!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.