Task Schduler settings

F

Frank C

Hi,
I have a simple .bat file to Robocopy folders and files to an external
shared drive for backup. The program works fine when I launch it. It failes
with:

2009/08/12 13:19:00 ERROR 3 (0x00000003) Getting File System Type of
Destination s:\Shared-Music\BackUp-Test\
The system cannot find the path specified.

when I run it with Task Scheduler

I have tried both Task Scheduler settings of " Run wheather the user is
logged on or not" and "Run only when the user is logged on"
Wake the computer to run this task is checked.

Here is the robocopy command line:
Robocopy c:\Users\Owner\Music\Recordings\BackUp-Test
s:\Shared-Music\BackUp-Test /log:TaskSchBkupLog.txt

Any help will be appreciated!
Frank C


--
Frank C
Dell Inspiron 530S
Win Vista Ultimate 64 bit SP1
Dell studio laptop
Win Vista Ultimate 64 bit SP1
HP Photosmart D7260
 
J

Jon

Frank C said:
Hi,
I have a simple .bat file to Robocopy folders and files to an external
shared drive for backup. The program works fine when I launch it. It
failes
with:

2009/08/12 13:19:00 ERROR 3 (0x00000003) Getting File System Type of
Destination s:\Shared-Music\BackUp-Test\
The system cannot find the path specified.

when I run it with Task Scheduler

I have tried both Task Scheduler settings of " Run wheather the user is
logged on or not" and "Run only when the user is logged on"
Wake the computer to run this task is checked.

Here is the robocopy command line:
Robocopy c:\Users\Owner\Music\Recordings\BackUp-Test
s:\Shared-Music\BackUp-Test /log:TaskSchBkupLog.txt

Any help will be appreciated!
Frank C


It sounds like the batch file is launching, but having problems accessing
the S drive.

You could try adding some simple troubleshooting lines to the batch file to
test out that theory
eg

dir s:
 
F

Frank C

Event viewer shows this error:
Task Compatibility module failed to update task
"User_Feed_Synchronization-(90573B48-7F1A-49EB-B0E2-630E54FB2F9A).job" to
the required status 0.
Additional data error value 2147943732.
Does anyone have a suggestion?
--
Frank C
Dell Inspiron 530S
Win Vista Ultimate 64 bit SP1
Dell studio laptop
Win Vista Ultimate 64 bit SP1
HP Photosmart D7260
 
F

Frank C

Task Scheduler Actions tab > Edit Actions > Program/Script entry must not be
surrounded with quotes It is if you use the Browse button to find your file
to be executed.
Mine looked like this:

"C:\Users\Owner\Desktop\System Tools\CopyTask.bat"

I renamed System Tools to System-Tools. I removed the quotes. Now it looks
like this

C:\Users\Owner\Desktop\System-Tools\CopyTask.bat

and it works!

I am now trying to get the wake-up user logged on or not combination to work
Frank C
--
Frank C
Dell Inspiron 530S
Win Vista Ultimate 64 bit SP1
Dell studio laptop
Win Vista Ultimate 64 bit SP1
HP Photosmart D7260
 

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

Top