Re: Scheduled tasks copied between servers often do not run
- From: "Pegasus \(MVP\)" <I.can@xxxxxxx>
- Date: Sun, 20 Aug 2006 11:53:00 +1000
See below.
"Greg" <Greg@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:14AC4AF4-F1B8-4AD2-B3AD-D30C94FD724A@xxxxxxxxxxxxxxxx
(Sorry, misposted in 'Accessibility')task
After copying tasks between servers and applying passwords, the copied
often does not run on the target machine.*** How can you tell?
It seems the scheduler simply does not see the task until it has been*** This is incorrect.
manually run once.
There is no status message and no entry in the log to indicate any cause,*** Which log?
and the last run/next run times never change.
We are migrating nearly 200 tasks from old servers to new servers, anddrag
cannot just run these tasks at anytime to force them to run automatically
thereafter. The scheduled tasks run-times are distributed over 24 hours
The method used to copy the tasks is:
1. RDP to the old server and copy the tasks to a network folder using
and drop in Windows Explorer*** That's fine.
2. RDP to the new server, drag and drop tasks into C:\Windows\Tasks.*** This is of concern.
(Occassionally Windows Explorer crashes when pasting, but tasks still
arrive
3. Apply passwords.*** You can do much better - see below.
4. Wait and hope!
Can anyone propose a solution or point to a problem ticket somewhere?
XP 2003 Pro, SP2
So far you claim that some tasks do not run appears to be
largely based on guesswork. To be sure you MUST inspect
the Task Scheduler's log file. You should also embed your
scheduled task into the batch file below, then examine its
log file. I suspect that it will reveal a lot!
@echo off
echo %date% %time% Start of task > c:\test.log
echo User=%UserName%, Path=%path% >> c:\test.log
c:\Tools\YourTask.exe 1>>c:\test.log 2>>&1
echo ErrorLevel of c:\Tools\YourTask.exe=%ErrorLevel% >> c:\test.log
echo %date% %time% End of task >> c:\test.log
.
- Follow-Ups:
- Re: Scheduled tasks copied between servers often do not run
- From: Laogui32
- Re: Scheduled tasks copied between servers often do not run
- Prev by Date: Re: Is there a way to automate backing up the registry?
- Next by Date: Re: technical error code
- Previous by thread: usb wirless adaptor not seen
- Next by thread: Re: Scheduled tasks copied between servers often do not run
- Index(es):
Relevant Pages
|