Scheduled job with NETWORK drive

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a an issue where an XP Pro Scheduled Task that runs a small BAT file - that copies (using SECURE FTP) a file to a NETWORK drive only works when the WORKSTATION is logged in. If the workstation is logged off, the BAT file does run, but the COPY never occurs, but of course, the second step - deleting the original off the remote site does work

Why would the NETWORK drive SFTP copy not work? Do network drives take a while to "connect" upon a login? Is there a way to PAUSE at the begining of a BAT file to see if that would help? Is there a way to LOG the results of the BAT file so that we can review what happened during the "logged-off" run

Thanks...
 
Type if /?

:loop
if not exist somefile goto loop
xcopy something something >> xcopy.log
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top