Scheduled task and strange issue?

  • Thread starter Thread starter J Max
  • Start date Start date
J

J Max

I have an exe that gathers data, puts it in a FTP
directory and is done.

The problem I have is when it runs using the scheduler buy
itself, it simply just hangs there until either I click on
the box that pops up or someone at the regional site.

If I just click on the job and run, it works fine.

If I just click on the exe, it works fine.

Windows 2K, SP3.
 
Add some simple diagnostics to your scheduled batch file:

@echo off
echo %date% %time% Start of FTP job > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log
c:\tools\SomeFTP.exe 1>>c:\test.log 2>>c:\test.err
echo %date% %time% End of FTP job >> c:\test.log

Now examine your log files. You will probably find that you
have a permissions issue - nothing strange about this at all!
 
Back
Top