Enterprise Manager Generic (MOSC)

MOSC Banner

emcli command line tool - creating jobs

edited Apr 8, 2013 5:05AM in Enterprise Manager Generic (MOSC) 13 commentsAnswered
./emcli version
Oracle Enterprise Manager 12c EMCLI Version 12.1.0.2.0
 
Well my plan was to use the emcli tool to create a bunch (200+) jobs on a new grid control server.   The documentation is a little sparse and I'm running into the following problem:

./emcli describe_job -name=MYJOB -owner=SYSMAN
Unexpected error, declared variable args was not found

The help for the create_job verb pretty much tells you to run the describe_job to get the input file for the create_job.  Oops.

When I run:

/emcli describe_job_type -job_type=OSCommand

# Job Type: OSCommand.
# This job type supports the following target types only :

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center