On Fri, 25 Sep 2009 17:31:01 -0500, Ward, Mike S wrote: > >How could I automate the ftping of those files to a windows ftp server > A couple afterthoughts:
I didn't provide for supplying the ID and password to the FTP server. Use .netrc. Better, if you have the server, use sftp or ssh. If your program is not expected to close its log file in a reasonable time, it should trap SIGHUP and write its process ID to a flle, program-name.pid. The log rotation script should read that file and "kill -HUP $PID". On catching SIGHUP, your program should close and reopen its log file. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html