Oracle Enterprise Manager Concepts Guide

Contents Index Home Previous Next

APPENDIX E. Predefined Job Tasks

This appendix lists the Job Scheduling system predefined job tasks and their parameters. This information is entered in the Tasks and Parameters pages of the Create Job property sheet. The name and the parameters are listed for each task.

The job tasks are written in the Tool Control Language (Tcl) enhanced with Oracle commands. You can write your own Tcl script and submit it with the Run Tcl job task.

The tasks are divided into several categories:

Additional informational is available on managing jobs.

Oracle Database Tasks

These are the tasks that can be run on databases and database groups. In addition, you can run operating system or host job tasks.

Note: You need to set up a password file to perform administration tasks on a remote database. See "Administration of a Remote Database" [*].

Run SQL*Plus

This job executes a SQL*Plus script, allowing any legal SQL or PL/SQL script(s) to be run, including all SQL*Plus formatting commands. You can load a script or simply type SQL commands in the Script Text box.

Parameters:

Note: If you want to create a new SQL*Plus script file, first click the Save button and enter a file name in the File Name field of the Save As dialog box.

    1. 3.1 User Name. Username for accessing the database.
    1. 3.2 Password. Password for the username.
Note: See "Console User Preferences" [*] for information on user preferences.

Note: If you want to save the changes to a different file, you can change the name of the SQL file in the File Name field of the Save As dialog box.

Run DBA Script

This job executes a Server Manager line mode script that contains DBA commands.

Parameters:

Note: If you want to create a new script file, first click the Save button and enter a file name in the File Name field of the Save As dialog box.

    1. 2.1 User Name. Username for accessing the database.
    1. 2.2 Password. Password for the username.
Note: See "Console User Preferences" [*] for information on user preferences.

    1. 2.3 Connect As. Select the role you want to connect as from the pull-down list.
Note: If you want to save the changes to a different file, you can change the name of the DBA script file in the File Name field of the Save As dialog box.

Shutdown Database

This job task shuts down an Oracle database instance.

Parameters:

    1. 3.1 User Name. Enter the username for accessing the database.
    1. 3.2 Password. Enter the password for the username.
Note: See "Console User Preferences" [*] for information on user preferences.

Startup Database

This job task starts up an Oracle database instance.

Parameters:

/rdbms/oracle73/myinit.ora

    1. 3.1 User Name. Enter the username for accessing the database.
    1. 3.2 Password. Enter the password for the username.
Note: See "Console User Preferences" [*] for information on user preferences.

Backup

This job allows you to submit a backup script that has been created with Oracle Backup Manager. The scripts for backing up a database are generated in the Tcl language. You can only update the Backup File Name field.

Parameters:

Note: The remaining parameter fields are set according to the selected backup script. The fields are read-only and cannot be modified.

    1. 3.1 Up. Perform a backup when the database is running.
    1. 3.2 Down. Perform a backup when the database is shut down.
    1. 4.1 Online. Perform a backup when the tablespace is online.
    1. 4.2 Offline. Perform a backup when the tablespace is offline.

    1. 8.1 Multiple files.
    1. 8.2 Individual files.

Operating System or Host Tasks

These are the tasks that can be run on the host's operating system.

Broadcast Message

This job allows you to submit a broadcast message to the selected destinations.

Parameters:

Run OS Command

This is a generic method of running any program or script that is executable on that host, provided your credentials allow you to do that.

Parameters:

Run Tcl Script

This job executes a Tcl script. This is a generic method of running any Tcl script that is executable on that host, provided your credentials allow you to do that.

Note: For information on writing custom job tasks, see the Oracle Enterprise Manager Application Developer's Guide. For information on Tcl, see "Tcl and the Tk Toolkit," by John K. Outsterhout, published by Addison-Wesley Publishing Company, 1994.

Parameters:

Note: If you want to create a new Tcl script file, first click the Save button and enter a file name in the File Name field of the Save As dialog box.

Note: If you want to save the changes to a different file, you can change the name of the Tcl script file in the File Name field of the Save As dialog box.

SQL*Net Listener Tasks

These are the tasks that can be run on SQL*Net Listeners. In addition, you can run operating system or host job tasks.

Note: Listener job tasks are not available with this release.

Shutdown Listener

This stops the SQL*Net Listener.

Parameters:

Startup Listener

This can be invoked to start the SQL*Net Listener.

Parameters: None


Contents Index Home Previous Next

<Oracle Enterprise Manager Concepts GuideOracle Enterprise Manager Concepts Guide