ESP dSeries Workload Automation

 View Only
Expand all | Collapse all

How to specify theenvironment variable for JOBs (shell script) in DE Agent

  • 1.  How to specify theenvironment variable for JOBs (shell script) in DE Agent

    Posted Oct 13, 2020 11:08 PM
    ​After I create the deadmin (Linus-bash / non-root) user, I run an cybAgent  process with this deadmin user and I am trying to perform JOBs with this user.
    However, after specifying an environment variable in .bashrc in deadmin, this environment variable is not recognized in JOB (shell).

    Is there something wrong with my method? Or is there another way?
    I would like to know how to specify the environment variable of user (deadmin) that performs JOB in JOB (shell).

    Thanks in advanced


  • 2.  RE: How to specify theenvironment variable for JOBs (shell script) in DE Agent

    Broadcom Employee
    Posted Oct 14, 2020 08:29 AM
    Hi, 
    I believe the variable will be sourced from .bash_profile 

    Let me know if this resolves your issue. 
    2cents
    Don....