Hello

I'm working with the crontab installed like described under the
following link.
http://www.acmesystems.it/?id=58

Since I use some environment variables in my applications I recognized
that there are some differences under the shell and the crond
environment.

Under shell I get the following variables with the env command:
USER=root
HOSTNAME=axis-00408c160867
OLDPWD=/root
HOME=/root
ENV=/etc/shrc
LOGNAME=root
TERM=xterm
SHELL=/bin/sh
PWD=/var

Under crond I get the following variables with the env command:
USER=root
HOME=/root
TERM=linux
PATH=/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin
RUNLEVEL=3
PREVLEVEL=N
SHELL=/bin/sh
PWD=/root

Can someone tell me where I can change the default environment variables
for the shell and the crond.

Thanks in advance for you help.


Reply via email to