Meike Stone writes:
2012/11/23 Joachim Schrod <jschrod@acm.org>:
You might try
ENV=/usr/local/etc/cron-profile
in your crontab, where /usr/local/etc/cron-profile is a file that sources both /etc/profile and $HOME/.profile (or the respective bash_profiles, whatever is your goal, but then you have to set SHELL and BASH_ENV -- see the link above for the gory details).
As hinted in the last cited line:
the /etc/crontab is: ============================================== SHELL=/bin/bash ENV=/etc/profile.d/my-env.sh
If $SHELL is /bin/bash, $ENV is not read. Then $BASH_ENV is read. HTH, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod, Roedermark, Germany Email: jschrod@acm.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org