How can I tell when a process has finished writing to a file?
10
votes
3
answers
2691
views
I have a process which has been spawned from a shell. It is running as a background process and exporting a DB to a CSV file in
/tmp
.
How can I tell when the background process has completed (finished / quit) or if the CSV file lock has closed? I plan to FTP the file to another host once it's written, but I need the complete file before I start the file transfer.
Asked by user34210
(101 rep)
Sep 25, 2014, 02:38 PM
Last activity: Aug 14, 2024, 03:07 AM
Last activity: Aug 14, 2024, 03:07 AM