Scheduling tasks

  • Thread starter Thread starter Ray at
  • Start date Start date
R

Ray at

Have you looked at the scheduled tasks log?

What is in the contents of your file? Does it depend on network drive
mappings?

Ray at work
 
Julio Gonzalez said:
No, sorry, where can I access Schedule Task Log?

Go into the scheduled tasks in Windows Explorer, and if you look up, you'll
see that in addition to the normal Windows Explorer menus, there is an
Advanced menu - from that.
The .BAT file access a remote server to copy a file via FTP and then run a
DTS package.

Does the job run as the local administrator on the account? If so, unless
you have the local admins on both machines synched, the local administrator
will not have access to the remote machine's shares. Also, when you run a
task as a user, I don't believe that it loads the user's environment
(network drives, profile, etc.) (but I'm not 100% positive about that). So,
if you are referencing the network drives as Q:\dir, as opposed to
\\server\share\dir, this will not work, as there is no Q: drive. The task
will only see local drives.

These are the things I'd look at anyway.

Ray at work
 
Hi All,

I am having a problem. I have schedule some .bat files to run once a day.
When I try to test it running manually it does not run and returns an error
"Could not start".
I have the Run as parameter as Administrator.


When I run the .bat manually it runs perfect.

What could be the problem with the Error.

Thanks in advance

Roberto
 
No, sorry, where can I access Schedule Task Log?

The .BAT file access a remote server to copy a file via FTP and then run a
DTS package.
But it seems the .bat file is well done, as if you run it manually it works
perfectly.

Thanks in advance

Roberto
 
Hi Julio - This can often be cured by just re-doing the Password entries for
EACH scheduled task.

--
Please respond in the same thread.
Regards, Jim Byrd, MS-MVP



In
 
Back
Top