-
Jan 23rd, 2008, 03:30 PM
#1
DefaultFlatFileInputSource and removal of processed files
We use the DefaultFlatFileInputSource together with RestartableItemProviderTasklet.
How should we take care of removal of the processed file after a successfull process?
Geir
-
Jan 24th, 2008, 03:38 AM
#2
You *could* create a second step that deletes the file. However, I'm always wary of doing any file moving or manipulation within batch jobs. This is because once the output has been successful, the job is logically done, and any jobs (or other processes) depending upon it can begin. If you have a second step, or even a dependent job that is a shell script, the entire job stream could be held up by what is essentially housekeeping.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules