spoke too soon, it was my oracle script that was failing ----- Original Message ----- From: "Jay Strauss" <[EMAIL PROTECTED]> To: "vox-tech" <[EMAIL PROTECTED]> Sent: Tuesday, September 02, 2003 9:56 PM Subject: Re: [vox-tech] cron and user environment
> It's dying on the following line: > > . `awk -F":" '{if ($1 ~ /oracle/) {print $6"/bin/setOraProfile"}}' > /etc/passwd` > > Never thought about awk not being in my path, but it isn't during a cron > session > > Thanks everyone > Jay > > ----- Original Message ----- > From: "Jeff Newmiller" <[EMAIL PROTECTED]> > To: "vox-tech" <[EMAIL PROTECTED]> > Sent: Tuesday, September 02, 2003 11:48 AM > Subject: Re: [vox-tech] cron and user environment > > > > On Mon, 1 Sep 2003, Jay Strauss wrote: > > > > > How can I setup my environment from a cron job? > > > > > > I tried: > > > > > > * * * * * . ~/.bash_profile; env > ~/env.out > > > > > > but the second command doesn't run. > > > > > > Currently to workaround I schedule the job from root and do: > > > su - <username> -c ~/bin/thing > > > > > > but don't really want to have to schedule stuff as root. > > > > Do you have a blank line after your crontab entry? > > > > -------------------------------------------------------------------------- > - > > Jeff Newmiller The ..... ..... Go > Live... > > DCN:<[EMAIL PROTECTED]> Basics: ##.#. ##.#. Live > Go... > > Live: OO#.. Dead: OO#.. Playing > > Research Engineer (Solar/Batteries O.O#. #.O#. with > > /Software/Embedded Controllers) .OO#. .OO#. > rocks...2k > > -------------------------------------------------------------------------- > - > > > > _______________________________________________ > > vox-tech mailing list > > [EMAIL PROTECTED] > > http://lists.lugod.org/mailman/listinfo/vox-tech > > > > > > > _______________________________________________ > vox-tech mailing list > [EMAIL PROTECTED] > http://lists.lugod.org/mailman/listinfo/vox-tech > > _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech