View Full Version : Scheduler won't work
Joe Ruskey
December 5th 03, 10:08 PM
I have a simple batch program that runs the xcopy command
and allows me to backup multiple machine to this my XP
Professional box because it has a large disk drive. The
batch file works great when I manually start it.
However, if I schedule it to run in the scheduler
program, it says it is running and never runs. Here is a
copy of the batch file.
@echo off
rem pause
xcopy "z:\my documents\*.*" "c:\backup\Deanna\my
documents\" /e/v/c/i/k/y
xcopy "z:\crep landowners\*.*" "c:\backup\deanna\crep
landowners\" /e/v/c/i/k/y
xcopy "z:\tree orders\*.*" "c:\backup\deanna\tree
orders\" /e/v/c/i/k/y
xcopy "y:\*.*" "c:\backup\russ\my
documents\" /e/v/c/i/k/y
xcopy "c:\documents and settings\default\my
documents\*.*" "c:\backup\default\my
documents\" /e/v/c/i/k/y
exit
ANy clues on why this is happening? It doesn't even kick
off a dos prompt or anything when it is scheduled to
run. Thanks.
Rick \Nutcase\ Rogers
December 5th 03, 10:09 PM
Hi,
Is this task running on a passworded account and have you set it to "run as"
this account?
--
Best of Luck,
Rick Rogers aka "Nutcase" MS-MVP - Win9x
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org
"Joe Ruskey" > wrote in message
...
> I have a simple batch program that runs the xcopy command
> and allows me to backup multiple machine to this my XP
> Professional box because it has a large disk drive. The
> batch file works great when I manually start it.
> However, if I schedule it to run in the scheduler
> program, it says it is running and never runs. Here is a
> copy of the batch file.
> @echo off
>
> rem pause
>
> xcopy "z:\my documents\*.*" "c:\backup\Deanna\my
> documents\" /e/v/c/i/k/y
>
> xcopy "z:\crep landowners\*.*" "c:\backup\deanna\crep
> landowners\" /e/v/c/i/k/y
>
> xcopy "z:\tree orders\*.*" "c:\backup\deanna\tree
> orders\" /e/v/c/i/k/y
>
> xcopy "y:\*.*" "c:\backup\russ\my
> documents\" /e/v/c/i/k/y
>
> xcopy "c:\documents and settings\default\my
> documents\*.*" "c:\backup\default\my
> documents\" /e/v/c/i/k/y
>
>
>
> exit
>
>
>
> ANy clues on why this is happening? It doesn't even kick
> off a dos prompt or anything when it is scheduled to
> run. Thanks.
Joe Ruskey
December 5th 03, 10:11 PM
It is set on a passworded account and it is set to run as
this account.
>-----Original Message-----
>Hi,
>
>Is this task running on a passworded account and have you
set it to "run as"
>this account?
>
>--
>Best of Luck,
>
>Rick Rogers aka "Nutcase" MS-MVP - Win9x
>http://mvp.support.microsoft.com/
>Associate Expert - WinXP - Expert Zone
>www.microsoft.com/windowsxp/expertzone
>Win98 Help - www.rickrogers.org
>
>"Joe Ruskey" > wrote in message
...
>> I have a simple batch program that runs the xcopy
command
>> and allows me to backup multiple machine to this my XP
>> Professional box because it has a large disk drive. The
>> batch file works great when I manually start it.
>> However, if I schedule it to run in the scheduler
>> program, it says it is running and never runs. Here is
a
>> copy of the batch file.
>> @echo off
>>
>> rem pause
>>
>> xcopy "z:\my documents\*.*" "c:\backup\Deanna\my
>> documents\" /e/v/c/i/k/y
>>
>> xcopy "z:\crep landowners\*.*" "c:\backup\deanna\crep
>> landowners\" /e/v/c/i/k/y
>>
>> xcopy "z:\tree orders\*.*" "c:\backup\deanna\tree
>> orders\" /e/v/c/i/k/y
>>
>> xcopy "y:\*.*" "c:\backup\russ\my
>> documents\" /e/v/c/i/k/y
>>
>> xcopy "c:\documents and settings\default\my
>> documents\*.*" "c:\backup\default\my
>> documents\" /e/v/c/i/k/y
>>
>>
>>
>> exit
>>
>>
>>
>> ANy clues on why this is happening? It doesn't even
kick
>> off a dos prompt or anything when it is scheduled to
>> run. Thanks.
>
>
>.
>
Rick \Nutcase\ Rogers
December 5th 03, 10:13 PM
Hi Joe,
Start/run eventvwr.msc, check the application logs for errors.
--
Best of Luck,
Rick Rogers aka "Nutcase" MS-MVP - Win9x
http://mvp.support.microsoft.com/
Associate Expert - WinXP - Expert Zone
www.microsoft.com/windowsxp/expertzone
Win98 Help - www.rickrogers.org
"Joe Ruskey" > wrote in message
...
> It is set on a passworded account and it is set to run as
> this account.
>
> >-----Original Message-----
> >Hi,
> >
> >Is this task running on a passworded account and have you
> set it to "run as"
> >this account?
> >
> >--
> >Best of Luck,
> >
> >Rick Rogers aka "Nutcase" MS-MVP - Win9x
> >http://mvp.support.microsoft.com/
> >Associate Expert - WinXP - Expert Zone
> >www.microsoft.com/windowsxp/expertzone
> >Win98 Help - www.rickrogers.org
> >
> >"Joe Ruskey" > wrote in message
> ...
> >> I have a simple batch program that runs the xcopy
> command
> >> and allows me to backup multiple machine to this my XP
> >> Professional box because it has a large disk drive. The
> >> batch file works great when I manually start it.
> >> However, if I schedule it to run in the scheduler
> >> program, it says it is running and never runs. Here is
> a
> >> copy of the batch file.
> >> @echo off
> >>
> >> rem pause
> >>
> >> xcopy "z:\my documents\*.*" "c:\backup\Deanna\my
> >> documents\" /e/v/c/i/k/y
> >>
> >> xcopy "z:\crep landowners\*.*" "c:\backup\deanna\crep
> >> landowners\" /e/v/c/i/k/y
> >>
> >> xcopy "z:\tree orders\*.*" "c:\backup\deanna\tree
> >> orders\" /e/v/c/i/k/y
> >>
> >> xcopy "y:\*.*" "c:\backup\russ\my
> >> documents\" /e/v/c/i/k/y
> >>
> >> xcopy "c:\documents and settings\default\my
> >> documents\*.*" "c:\backup\default\my
> >> documents\" /e/v/c/i/k/y
> >>
> >>
> >>
> >> exit
> >>
> >>
> >>
> >> ANy clues on why this is happening? It doesn't even
> kick
> >> off a dos prompt or anything when it is scheduled to
> >> run. Thanks.
> >
> >
> >.
> >
vBulletin® v3.6.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.