Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: Running a script on shutdown/startup
On Mon, 31 May 1999 17:14:42 +0100, "Richard Anstey"
<ranstey_at_compuserve.com> wrote:
>Hello,
>
>Has anyone come accross a way of getting a script to run automatically when
>the shutdown command is issued ? I need to run a command to stop several
>jobs before the db is shutdown. I'm running on 7.3.4 but would also be
>interested if a solution exists in 8.
The solution exists in 8i (8.1) - it is called "database event triggers". You can write triggers that execute at special database events like startup or shutdown.
>Many thanks for any suggestions,
>
>Richard.
HTH,
Jurij Modic <jmodic_at_src.si>
Certified Oracle7 DBA (OCP)
![]() |
![]() |