scheduled task problems

P

pmz

Running NTbackup as scheduled task. has worked fine for
months. It no longer runs correctly. The Scheduled Task
log shows: 'Finished mm/dd/yyyy time, Result: The task
completed with an exit code of (3). NTbackup does not
generate a log file and there is nothing in the event view
for applications, system or security applicable to this
run. Looked in kb for definition of exit code. the
article gave file names and suggested they could be found
in msdn w2k ddk disk but got totally lost looking through
that cd for the files shown in kb article. Can anyone
give a sort definition for exit code 3 in scheduled
tasks? Thanks. Appreciate your time and effort. pmz
 
P

Pegasus \(MVP\)

pmz said:
Running NTbackup as scheduled task. has worked fine for
months. It no longer runs correctly. The Scheduled Task
log shows: 'Finished mm/dd/yyyy time, Result: The task
completed with an exit code of (3). NTbackup does not
generate a log file and there is nothing in the event view
for applications, system or security applicable to this
run. Looked in kb for definition of exit code. the
article gave file names and suggested they could be found
in msdn w2k ddk disk but got totally lost looking through
that cd for the files shown in kb article. Can anyone
give a sort definition for exit code 3 in scheduled
tasks? Thanks. Appreciate your time and effort. pmz

1. ntbackup.exe DOES create a log file.

2. You can trap error messages by cutting & pasting
the ntbackup command (as it is visible in the Task Scheduler)
into a batch file, then modifying it like so:

@echo off
echo %date% %time% Start of backup job 1>c:\test.txt
ntbackup.exe . . . . 1>>c:\test.txt 2>c:\test.err
echo %date% %time% End of backup job 1>>c:\test.txt

Now schedule the batch file instead of ntbackup.exe.
 

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