[PLUG] Shell questions
Rich Shepard
rshepard at appl-ecosys.com
Wed Jun 5 15:05:47 UTC 2002
On Wed, 5 Jun 2002, Michael H.Collins wrote:
> I have a couple .sh scripts that if I run out my shell (bash) runs fine,
> but if I put on the cron (crontab) it loses its env vars (like
> $SOMETHING), even calling su root -c myscript.sh on the crontab
Who's crontab is running? If it's root, then I suggest exporting the same
env vars from root's .bash_profile as from yours.
Rich
More information about the PLUG
mailing list