scheduler Problem

Status
Not open for further replies.

bhavin_798

Distinguished
Jun 12, 2008
4
0
18,510
Dear Friends,

I have windows 2K3 server with oracle database.I have made the scripts to run in a scheduled task.
Problem is this schedule task runs but it some times does not take the backup of dmp files.
For more info i have given the schedule log which is given below.

SCEDULE LOG

"WED_DAILY.job" (WED.BAT)
Started 5/21/2008 10:00:00 PM
"WED_DAILY.job" (WED.BAT)
Finished 5/21/2008 10:34:26 PM
Result: The task completed with an exit code of (0).
"THURS-4.job" (THURS-4.BAT) 5/22/2008 2:00:00 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000003: The system cannot find the path specified.
Verify that the directory exists and try again.
"THURS-4.job" (THURS-4.BAT)
Started 5/22/2008 2:00:00 AM
"THU_DAILY.job" (THU.BAT)
Started 5/22/2008 10:00:00 PM
"THU_DAILY.job" (THU.BAT)
Finished 5/22/2008 10:33:36 PM
Result: The task completed with an exit code of (0).
"FRI-4.job" (FRI-4.BAT) 5/23/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"FRI-4.job" (FRI-4.BAT)
Started 5/23/2008 2:00:07 AM
"FRI-4.job" (FRI-4.BAT)
Finished 5/23/2008 2:40:17 AM
Result: The task completed with an exit code of (0).
"THURS-4.job" (THURS-4.BAT)
Finished 5/23/2008 10:59:23 AM
Result: The task completed with an exit code of (c000013a).
"FRI_DAILY.job" (FRI.BAT)
Started 5/23/2008 10:00:00 PM
"FRI_DAILY.job" (FRI.BAT)
Finished 5/23/2008 10:33:11 PM
Result: The task completed with an exit code of (0).
"SAT_DAILY.job" (SAT.BAT)
Started 5/24/2008 10:00:00 PM
"SAT_DAILY.job" (SAT.BAT)
Finished 5/24/2008 10:33:01 PM
Result: The task completed with an exit code of (0).
"MON-4.job" (MON-4.BAT) 5/26/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"MON-4.job" (MON-4.BAT)
Started 5/26/2008 2:00:07 AM
"MON-4.job" (MON-4.BAT)
Finished 5/26/2008 2:40:37 AM
Result: The task completed with an exit code of (0).
"MON_DAILY.job" (MON.BAT)
Started 5/26/2008 10:00:00 PM
"MON_DAILY.job" (MON.BAT)
Finished 5/26/2008 10:34:13 PM
Result: The task completed with an exit code of (0).
"TUE-4.job" (TUE-4.BAT) 5/27/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"TUE-4.job" (TUE-4.BAT)
Started 5/27/2008 2:00:07 AM
"TUE-4.job" (TUE-4.BAT)
Finished 5/27/2008 2:40:13 AM
Result: The task completed with an exit code of (0).
"WED-4.job" (WED-4.BAT) 5/28/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"WED-4.job" (WED-4.BAT)
Started 5/28/2008 2:00:07 AM
"WED-4.job" (WED-4.BAT)
Finished 5/28/2008 2:40:19 AM
Result: The task completed with an exit code of (0).
"WED_DAILY.job" (WED.BAT)
Started 5/28/2008 10:00:00 PM
"WED_DAILY.job" (WED.BAT)
Finished 5/28/2008 10:34:34 PM
Result: The task completed with an exit code of (0).
"THURS-5.job" (THURS-5.BAT) 5/29/2008 2:00:00 AM ** ERROR **
The attempt to retrieve account information for the specified task failed; therefore, the task did not run. Either an error occurred, or no account information existed for the task.
The specific error is:
0x8004130f: No account information could be found in the Task Scheduler security database for the task indicated.
"THU_DAILY.job" (THU.BAT)
Started 5/29/2008 10:00:00 PM
"THU_DAILY.job" (THU.BAT)
Finished 5/29/2008 10:34:28 PM
Result: The task completed with an exit code of (0).
"FRI-5.job" (FRI-5.BAT) 5/30/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"FRI-5.job" (FRI-5.BAT)
Started 5/30/2008 2:00:08 AM
"FRI-5.job" (FRI-5.BAT)
Finished 5/30/2008 2:40:29 AM
Result: The task completed with an exit code of (0).
"Task Scheduler Service"
Exited at 5/30/2008 12:27:44 PM
"Task Scheduler Service"
Started at 5/30/2008 12:30:27 PM
"Task Scheduler Service"
5.2.3790.3959 (srv03_sp2_rtm.070216-1710)
"Task Scheduler Service"
Started at 5/30/2008 6:20:38 PM
"Task Scheduler Service"
5.2.3790.3959 (srv03_sp2_rtm.070216-1710)
"FRI_DAILY.job" (FRI.BAT)
Started 5/30/2008 10:00:00 PM
"FRI_DAILY.job" (FRI.BAT)
Finished 5/30/2008 10:34:19 PM
Result: The task completed with an exit code of (0).
"SAT_DAILY.job" (SAT.BAT)
Started 5/31/2008 10:00:00 PM
"SAT_DAILY.job" (SAT.BAT)
Finished 5/31/2008 10:33:01 PM
Result: The task completed with an exit code of (0).
"May_Move.job" (May_Move.bat)
Started 6/1/2008 6:00:00 AM
"May_Move.job" (May_Move.bat)
Finished 6/1/2008 6:00:11 AM
Result: The task completed with an exit code of (0).
"MON-1.job" (MON-1.BAT) 6/2/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"MON-1.job" (MON-1.BAT)
Started 6/2/2008 2:00:07 AM
"MON-1.job" (MON-1.BAT)
Finished 6/2/2008 2:40:29 AM
Result: The task completed with an exit code of (0).
"MONTH.job" (MONTH.BAT) 6/2/2008 6:00:07 PM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"MONTH.job" (MONTH.BAT)
Started 6/2/2008 6:00:07 PM
"MONTH.job" (MONTH.BAT)
Finished 6/2/2008 6:00:14 PM
Result: The task completed with an exit code of (1).
"MON_DAILY.job" (MON.BAT)
Started 6/2/2008 10:00:00 PM
"MON_DAILY.job" (MON.BAT)
Finished 6/2/2008 10:34:10 PM
Result: The task completed with an exit code of (0).
"TUE-1.job" (TUE-1.BAT) 6/3/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"TUE-1.job" (TUE-1.BAT)
Started 6/3/2008 2:00:07 AM
"TUE-1.job" (TUE-1.BAT)
Finished 6/3/2008 2:40:51 AM
Result: The task completed with an exit code of (0).
"WED-1.job" (WED-1.BAT) 6/4/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"WED-1.job" (WED-1.BAT)
Started 6/4/2008 2:00:08 AM
"WED-1.job" (WED-1.BAT)
Finished 6/4/2008 2:40:17 AM
Result: The task completed with an exit code of (0).
"WED_DAILY.job" (WED.BAT)
Started 6/4/2008 10:00:00 PM
"WED_DAILY.job" (WED.BAT)
Finished 6/4/2008 10:33:53 PM
Result: The task completed with an exit code of (0).
"THURS-1.job" (THURS-1.BAT) 6/5/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"THURS-1.job" (THURS-1.BAT)
Started 6/5/2008 2:00:08 AM
"THURS-1.job" (THURS-1.BAT)
Finished 6/5/2008 2:40:20 AM
Result: The task completed with an exit code of (0).
"Task Scheduler Service"
Started at 6/5/2008 6:01:46 PM
"Task Scheduler Service"
5.2.3790.3959 (srv03_sp2_rtm.070216-1710)
"THU_DAILY.job" (THU.BAT)
Started 6/5/2008 10:00:00 PM
"THU_DAILY.job" (THU.BAT)
Finished 6/5/2008 10:33:03 PM
Result: The task completed with an exit code of (0).
"FRI-1.job" (FRI-1.BAT) 6/6/2008 2:00:07 AM ** WARNING **
Invalid working directory..
The specific error is:
0x00000002: The system cannot find the file specified.
Verify that the directory exists and try again.
"FRI-1.job" (FRI-1.BAT)


What could be the problem? is it hardware or software problem
Please help

Regards

Bhavin
 

Flakes

Distinguished
Dec 30, 2005
1,868
0
19,790
hmm by any chance is it trying to connect to a network drive? and is the server always on?

im thinking you should force a gpupdate /sync at the begining of the script to ensure that all drives are connected properly before trying to make backups.
 

bhavin_798

Distinguished
Jun 12, 2008
4
0
18,510
Hello,

I forgot to write that this backup has been scheduled at night 2:00pm and the device where it is backing up is a usb external hard drive seagate 500gb.

Bhavin
 

Flakes

Distinguished
Dec 30, 2005
1,868
0
19,790
the problem ive got, if i understand correctly is that the script sometimes works and sometimes does not?

could it be that you have several network drives set up and the usb drive is retaining a letter already used by a network drive, sometimes the network drive will appear and others the usb... try changing them within computer management.
 
Status
Not open for further replies.