![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Windows & DOS: Issues & Discussions All Windows and DOS questions should go here as well. Discuss UNIX to Windows (Desktop or Server) here! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Number of open files (Dir's) how to close? | satyam90 | UNIX for Advanced & Expert Users | 1 | 11-07-2008 09:17 AM |
| close open files before remove | xramm | SUN Solaris | 9 | 09-14-2007 08:23 AM |
| Close Socket at HP-UX | Renato Gregio | HP-UX | 2 | 08-14-2007 10:04 AM |
| Should a UNIX daemon process close open fds? | kunalashar | UNIX for Dummies Questions & Answers | 1 | 10-24-2002 09:10 AM |
| File status - open/close ?? | Pal | UNIX for Dummies Questions & Answers | 3 | 09-26-2001 03:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
You might try the following:
The cron job first retrieves the file and saves it locally under a unique name. Then it runs a loop which terminates as soon as the excel.exe process goes away and then moves the file to the final destination. In pseudocode: Code:
get_file_from_internet()
save_file( "some_unique_name" )
while ( excel.exe is running ) {
wait()
}
move_file( "some_unique_name", "myfile.xls" )
end()
I hope this helps. bakunin |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|