Ok,
since I scheduled the 2 script to run with the task scheduler, I didn't
checked too much how to correct the pre an post command running in BE, but I
tried a couple thing and was able to run the pre-job command from BE, but
the post-job command never worked at all.

So this morning I created a new account for BE, gave it admin right (local
and domain) and log on as services, if I remember correctly. I log onto the
computer as that new account, try both script, witch worked perfectly and
log out. I relog with my acccount, I change the name and password for the
service account, as described in the Document id:254246.

Then, I try the backup, witch work fine, but now, the pre-job command fail
giving an error (for the first time) (error 1314) saying the client doesn't
have enough right, as for the post-job, nothing at all. Since I log on with
the service account and executed both command, I don'T know what's wrong.

At least, BE tell me there's something wrong, but I guest I'll go back with
the task sheduler.

Any idea?

Thanks.

--
--
Maxime

"Ken Putnam" a écrit dans le message de
news:41113b1b@ROSASTDMZ05....
> If you log onto the machine as the BEWS service account, does the batch
> file run correctly?
>
> When BEWS starts a pre/post job, it has exactly zip for environment
> variables (path etc) You need to specify absolute paths for all
> commands, or manually cd to the correct directory before executing them.
>
> Maxime wrote:
>
> >The batch file is used to stop/start Oracle database.
> >
> >Maxime.
> >
> >"Joblink" wrote in message news:41087c79@ROSASTDMZ05....
> >
> >
> >>to my knowledge it doesnt have the ability to interact with the desktop

so
> >>if u have it doing stuff with copying stuff to mapped drives u will have
> >>
> >>

> >to
> >
> >
> >>map them in the batch file. yada yada yada
> >>
> >>Enjoy
> >>
> >>Rob !
> >>
> >>
> >>"Maxime" wrote in message news:4106b61a@ROSASTDMZ05....
> >>
> >>
> >>>Hi,
> >>> My Pre-Job batch is not running. There are no errors relating to

this
> >>>in
> >>>the event log nor the job log. All the job log says is that it is
> >>>
> >>>

> >starting
> >
> >
> >>>the Pre-Job command. As for the Post-Job Command, I see nothing at

all.
> >>>
> >>> I had to schedule those batch with the AT command to run before and
> >>>after the backup and this way they work. I use the same batch file
> >>>
> >>>

> >witch
> >
> >
> >>>produce log file with the date and hour of the execution, and all I see
> >>>
> >>>

> >in
> >
> >
> >>>them is the time scheduled with the AT command, not the time of the
> >>>backup.
> >>>
> >>>any help will be appreciated.
> >>>
> >>>Thanks.
> >>>
> >>>--
> >>>Maxime
> >>>
> >>>
> >>>
> >>>
> >>
> >>

> >
> >
> >
> >

>