If an additional profile script is executed within that process's environment, then it certainly could have an effect. What effect it would have would depend upon the contents.
Howard White <[email protected]> wrote: > I've emailed a couple of members with a direct question from which > this > general remark is derived. > > Have just learned that a script invoked directly by cron (as in a line > > within /etc/cron.d/somescript) does _not_ receive the benefit of that > users .bash_profile or /etc/profile. > > Up to this point, we've had this invocation in root's crontab as su - > username -c "somescript" and I'm trying to move to /etc/cron.d. > > So the question is, if this script is run such that .bash_profile has > already happened, does encountering source .bash_profile cause new > problems. Testing this right now. > > Howard -- John F. Eldredge -- [email protected] "Reserve your right to think, for even to think wrongly is better than not to think at all." -- Hypatia of Alexandria -- -- You received this message because you are subscribed to the Google Groups "NLUG" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en --- You received this message because you are subscribed to the Google Groups "NLUG" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
