Unix Jobs

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:

Defining Unix Jobs: 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.

Defining Unix Jobs: Job Report Section

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

Analyzing the Last Execution of a Job with Gen AI

As a developer and object designer, after configuring an executable object, you execute it to make sure that it behaves as you expect. Every time that you execute the object, a runID is generated that identifies that execution. If the execution fails or if the outcome is not what you expect, you use the reports and Executions lists to investigate the reasons for the failure. Automic Automation's Gen AI simplifies this process substantially. You can open the Automation AI Assistant as follows:

  • From the Explorer list in the Process Assembly perspective, right-click the object and select Monitoring > Analyze Last Execution.

  • On the object-specific definition page, click the Analyze Last Execution button.

Automic Automation's Gen AI crawls all the reports and logs available for the last execution of the object, it summarizes what happened, analyzes the automation outcome and provides suggestions to solve any existing or potential issues. It also provides a link to the execution itself in the list of Executions (Process Monitoring) and to the report. You can start a conversation in the Ask Automation AI Assistant field at the bottom of the pane.

For more information, see Analyzing with the Automation Assistant.

See also:

 

{"URL":["/*.*/awa/pa_view_JOBS_UNIX"],"heroDescriptionIdentifier":"ice_unix_jobs","customCards":[{"id":"ice_unixjob_defining","title":"Defining UNIX Jobs","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_job_UNIX.htm","languages":["en-us"]},{"id":"ice_unix_attributes","title":"UNIX Job Attributes","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_job_Attributes_UNIX.htm","languages":["en-us"]},{"id":"ice_attributes_alljobs","title":"Attributes for all Job Types","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_job_Attributes_All.htm","languages":["en-us"]},{"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"]},{"id":"ice_scripting_and_the_ae_scripting_language","title":"The Automation Engine Scripting Language","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/Script/Writing/AE_Scripting_Language.htm","languages":["en-us"]},{"id":"ice_unixjob_video","title":"Watch the Video","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_job_UNIX_VIDEO.htm","languages":["en-us"]},{"id":"ice_jobs_overview","title":"About Job Objects","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_job.htm","languages":["en-us"]},{"id":"ice_jobs_workingwith","title":"Working with Job Objects","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_job.htm","languages":["en-us"]},{"id":"ice_working_with_objects","title":"Working with Objects","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_WorkingWithOverview.htm","languages":["en-us"]},{"id":"ice_job_executing","title":"Executing Jobs","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Executions/Exec_Jobs.htm","languages":["en-us"]},{"id":"ice_ExecutingObjects","title":"Executing Objects","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Executions/obj_Executing_overview.htm","languages":["en-us"]},{"id":"ice_Object_AnalyzeLastExecution","title":"Analyzing the Last Execution of a Job","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/obj_WkgWithAnalyzeExecData.htm","languages":["en-us"]},{"id":"ice_jobs_monitoring","title":"Monitoring Jobs","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/ProcMonitoring/JOBSMonitor/PM_MonitoringJobsOverview.htm","languages":["en-us"]},{"id":"ice_monitoringtasks_overview","title":"Monitoring Tasks","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/ProcMonitoring/PM_MonitoringTasksOverview.htm","languages":["en-us"]},{"id":"ice_ExecutionData","title":"Execution Data","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Reports/Executions_Overview.htm","languages":["en-us"]},{"id":"ice_jobreports","title":"Job Reports","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Reports/Reports_Jobs.htm","languages":["en-us"]},{"id":"ice_ReportsOverview","title":"Understanding the Reports","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Reports/Reports_Overview.htm","languages":["en-us"]},{"id":"ice_reportsview_workingwith","title":"Reports Window","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Reports/Reports_Window.htm","languages":["en-us"]},{"id":"ice_AWIs_CommonFunctions","title":"Common Functions","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/_Common/CommonFunctions/CF_OverviewOfChapter.htm","languages":["en-us"]},{"id":"ice_UnderstandingPA","title":"Understanding the Process Assembly Perspective","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/AWA/Objects/ProcessAssembly.htm","languages":["en-us"]},{"id":"ice_Overview_AWI","title":"Understanding the User Interface","type":"customize","url":"https://docs.automic.com/documentation/webhelp/english/ALL/components/DOCU/*.*/Automic%20Automation%20Guides/Content/_Common/GettingStarted/GS_OverviewAWI.htm","languages":["en-us"]}]}