I have a perl script that I am setting up in crontab to run and when 
running the script under that user the script runs fun because the 
.profile runs and the environment variables are set up.

I can I easily call the .profile within the script and keep the 
environment variables throughout the rest of the script? or do I need to 
manually call all items in the .profile.


This is what is currently in the .profile
# FAXCOMMANDER SETUP (BEGIN)
#
  if test -f /usr2/faxmgr/cfg/scripts/profile; then
    . /usr2/faxmgr/cfg/scripts/profile
  fi
#
# FAXCOMMANDER SETUP ( END )
export ENV=$HOME/.kshrc

Anthony J Segelhorst
Enterprise Systems Management Team
Phone: 937-495-1876
Email: [EMAIL PROTECTED]




________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________

This electronic message contains information from MeadWestvaco
Corporation or subsidiary companies, which may be confidential,
privileged or otherwise protected from disclosure.  The
information is intended to be used solely by the recipient(s)
named.  If you are not an intended recipient, be aware that
any review, disclosure, copying, distribution or use of this
transmission or its contents is prohibited.  If you have
received this transmission in error, please notify MeadWestvaco
immediately at [EMAIL PROTECTED]
_______________________________________________________________________

Reply via email to