As of now i am iterating through all the 5k files available in the folder and store them in a tbufferoutput and read through them by using tbufferinput and sorting them based on mtime desc(modified time in the ftp site) in the descending order and extract the top 10 files only. Since its iterating through all the 5k files at
Tag: jobs
How do I execute a method at a particular time in java?
Is there any way to write a program in java, so that its main method schedule (or at a 10-15 min interval) another method to executes it at a particular interval? Answer I think you are looking for the Time class. See Timer Class API You can use this class like: You want to perform a Method every 600 miliseconds.