EM DBConsole: Create 'Host Command' Job
edited Jun 15, 2010 7:09AM in Managing Databases using Enterprise Manager (MOSC) 4 commentsAnswered ✓
I need some help creating a 'Host Command' job within Enterprise
Manager 10g. I am still learning Linux and I need some clarification on how the following should be setup.
The "Create 'Host Command' Job" screen has a single-line input box for
"Command" (mandatory) and a multi-line input box for "OS Script" (not
mandatory).
I'm trying to schedule the following commands to run, but I'm not sure if they need to go into the "Command" field, or the "OS Script" area.
I'm trying to schedule the following commands to run, but I'm not sure if they need to go into the "Command" field, or the "OS Script" area.
lsnrctl set log_status offI tried putting them all in the "Command" area, but it will only accept one line. They do fit in the "OS Script" area, but I have no clue what to put in the "Command" box then. I'm guessing I can package the OS Commands into a script (not sure how) and then call the script from the Command box (again, not sure how)?
mv listener_<hostname>.log listener_<hostname>.log.old
lsnrctl set log_status on
0