On Wed, 19 Jul 2000 20:13:41 +0530
 Rajesh Fowkar <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> The problem given below is on SCO Unix.
> 
> How to run .profile just before running a script at a particular
> time. This is needed
> because I want to set some environment variables which will be used
> by the script which
> is to be run.
> 
> eg. :
> 30 8 * * * /usr/pf/pfbk
> 
> I want to run .profile from the user pf before running the above
> script.
> If I put this stuff(setting environment variables) in pfbk script
> than it is not getting
> executed.
> 
> Any ideas ?
> 
> Thanks in advance.
> 
> Regards
> 
> -- 
> Rajesh(ALIAS Shriram) Fowkar
> 

What is the default shell of user pf?
Worst case you will have to add those env variables in the script also


---
B.G. Mahesh
[EMAIL PROTECTED]
http://www.indiainfo.com/
---------------------------------------------------------------------
Mind boggling features only at http://mail.indiainfo.com

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to