Joachim Schrod said the following on 11/23/2012 12:33 PM:
Anton Aylward wrote:
Joachim Schrod said the following on 11/23/2012 10:49 AM:
I use Perl to test that the env var is set for all cron jobs and not just for shell scripts.
If you used the 'env' command you'd see a lot more and that _might_ give a clue.
What clue _might_ I need? My posted scripts work. I tested them.
Meike is right that $ENV is not sourced -- which is strange, but I didn't investigate. [....]
I also don't want an entry like * * * * * env
Ah, we're talking at cross purposes then! I was thinking in terms of experimenting - seeing what _could_ be put in the environment and what ended up in there that you didn't explicitly put there, varying conditions, different shells, entries in /etc/passwd and so forth. And yes, I did that I found that it does vary things. You seem to be jumping straight to 'production'. Fair enough. This wasn't as critical for me as for you; I had the time to experiment ... -- "...there is no reason anyone would want a computer in their home." Ken Olson, President, Chairman, and Founder of DEC, 1977 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org