R
ray.koerner
I just finished writing a batch file that will psftp (secure ftp
client) a file from a Linux machine to a windows machine, after the
copy is complete it takes the log file that was created during the copy
and it emails it to me via Blat, then takes the log file from one
directory and copies it to another and renames it with the current
date, and finally it emails me a dir command off the log file directory
so that I can verify that the file was renamed to the current date. If
I run this batch file from the command line it works perfectly, but as
soon as I schedule it to run through the windows task scheduler it
skips the psftp line. Anyone seen anything like this?
client) a file from a Linux machine to a windows machine, after the
copy is complete it takes the log file that was created during the copy
and it emails it to me via Blat, then takes the log file from one
directory and copies it to another and renames it with the current
date, and finally it emails me a dir command off the log file directory
so that I can verify that the file was renamed to the current date. If
I run this batch file from the command line it works perfectly, but as
soon as I schedule it to run through the windows task scheduler it
skips the psftp line. Anyone seen anything like this?