AutoSys Workload Automation

 View Only
  • 1.  How to configure job output

    Posted Oct 16, 2019 05:45 AM
    Hi,

    I just installed an AutoSys Agent on Solaris version 11.4.01.00

    I need job logs to be keep in uniq output  files so I set
    std_out_file: /var/tmp/$AUTO_JOB_NAME-out.${AUTOPID}

    but the file created does not resolve the variables

    -rw-r--r-- 1 operador sag 6900 Oct 16 11:31 $AUTO_JOB_NAME-out.${AUTOPID}

    running env command I can see the variables are created but not resolved

    AUTO_JOB_NAME=dxc_abr_test_bcnastxsap01_c
    AUTOPID=1115
    STDERR=>>/var/tmp/$AUTO_JOB_NAME-out.${AUTOPID}
    STDOUT=>>/var/tmp/$AUTO_JOB_NAME-out.${AUTOPID}

    Do you know what has to be done to let agent resolve variable?

    thanks


  • 2.  RE: How to configure job output

    Posted Oct 16, 2019 10:36 AM
    Edited by Linda Williams Oct 16, 2019 10:37 AM
    Add the $AUTORUN environment variable. 

    std_out_file: "/var/tmp/${AUTO_JOB_NAME}-${AUTORUN}.stdout"
    std_err_file: "/var/tmp/${AUTO_JOB_NAME}-${AUTORUN}.stderr"