Unix Jobs

{"URL":["/*.*/awa/pa_view_JOBS_UNIX"],"heroDescriptionIdentifier":"ice_unix_jobs","customCards":[{"id":"ice_registered_job_output","title":"Registered Job Output","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_Job_RegisteredOutput.htm","languages":["en-us"]},{"title":"Watch the Video","type":"videos","URL":["https://youtu.be/6tE8gcjt2e0"],"languages":["en-us"]}]}

This subtype of the JOBS object defines Unix operating system processing steps to be carried out in a target system. Like all other job objects (JOBS), Unix jobs can run independently or they can be added to a group (JOBG) or to a workflow. For more information about the integration between the Automation Engine and Unix, see AE and UNIX.

Defining Unix Jobs

A Unix Job definition is made up of the following pages:

Start Parameters Section

unix jobs,unix parameters
  • Job Type

    Select how the UNIX commands are executed:

    • Shell Script - Select this option to:
      1. Generate a job.
      2. Transfer it to the target system.
      3. Execute it in the shell script.

        The UNIX JCL script from the Process page is also executed.

      Note: If you select this option, the JCL contained in the Process page is transferred to the UNIX agent and executed.

    • Command - If you select his option the Command field is also displayed, where you can enter a command or command sequence that is passed to the UNIX command line.

      The selected shell is called and executes the commands.

      You can combine several commands separated by semicolons.

      Note: If you select this option, no job is generated/transferred to the target system. The JCL contained in the Process page is ignored; the statements made in the agents are processed instead.

  • Shell

    Select the UNIX shell, under which the job runs.

    If you do not select a shell, the default shell from the password file is applied.

    Shells are listed with and without leading - characters. The shells with - characters are login shells. A login shell is one whose first character of argument zero is a -, or one started with the --login option.

    See for instance: http://linux.die.net/man/1/bash.

    Your administrator maintains the available shells in the UC_SHELL_UNIX variable, see UC_SHELL_UNIX - Defining UNIX Shells.

  • Shell Options

    You can specify further shell options. The syntax depends on the selected shell.

Job Report Section

For information on the Job Report section, see Job Reports.

See also: