Avatar of Ted Penner
Ted Penner
Flag for United States of America

asked on 

Java function file.delete() is not working on subsequent triggers

We have a java program that is scheduled to run every hour using the quartz library.
Even after closing all input and output streams to that file, the function file.delete() is not working.
The file in question is named data.csv.
It lives on the desktop and has a header row consisting of 49 columns and approximately 202,700 rows.
The program is able to delete the file the first time it runs but fails to delete it in subsequent triggers.

JavaJava EE

Avatar of undefined
Last Comment

8/22/2022 - Mon