AutoSys Workload Automation

Expand all | Collapse all

Remote Execution Job with TCSH

  • 1.  Remote Execution Job with TCSH

    Posted 05-17-2019 03:59 AM

    Hi all,

     

    I have installed Remote Execution plugin and configured it to execute a PROXY job using user that is created with TCSH as the default SHELL.

     

    Job Definition:

       insert_job: test_install_redhat_proxy3   job_type: PROXY
       machine: redhat
       owner: rptadm@wcc
       permission:
       date_conditions: 0
       alarm_if_fail: 1
       remote_target: wcc
       spool_file: "/tmp/test_install_redhat_proxy.out"
       success_codes: 0
       remote_command: "/tmp/myscript.sh"

     

    Remote Server /etc/passwd:

       rptadm:x:10296:10296::/home/rptadm:/bin/tcsh

     

     

    Able to execute the PROXY job but it will always complete in SUCCESS state, eventhough the script complete with failure i.e. non-zero exit code.

     

    It works fine if the user default SHELL is BASH.

     

    Any configuration that I need to tweak for user on TCSH?



  • 2.  Re: Remote Execution Job with TCSH

    Posted 05-21-2019 10:05 AM

    Hi,

    See this link for more information.

     

    Thanks,

    Nitin Pande

    Broadcom