Unix shell job - User Environment not set from within Automic

Discussion created by SamahSohrab607228 on May 6, 2015
Latest reply on May 7, 2015 by joel_wiesmann_automic

I am trying to run a job on one of our unix servers. When I log directly into the server (as the user that is used by Automic) and I run the ENV command I get more values being set, than when I have a Automic job run the ENV command. Is there a way to get the job that's run from Automic to have the same values get set?

The BASHRC file for the user is
# .bashrc

# Source global definitions
if [ -f /etc/bashrc ]; then
     . /etc/bashrc

In the Pre-Process tab of my Automic job I run
source /etc/bashrc

So I thought I'd be getting the same environment. Can someone tell me how Automic is connecting as the user?