I need an environment variable from my .profile on Solaris and having 
troubles getting at it. I have a Perl script which executes fine outside of 
cron and now am trying to do via cron. I wanted to stay away from a shell 
script and was wondering what is the easiest way to get my .profile loaded, so 
the Perl script can access the needed variable.

        I have tried with errors the following:

        25 12 * * 4 . $HOME/.profile ; /d/src/pl600.pl dp51     

        and

        25 12 * * 4 . $HOME/.profile && /d/src/pl600.pl dp51    

        I get the error: 
                sh: -o: bad option(s)

        I believe it should not be that hard to do, but I only have really 
enough knowledge to dangerous and know when to ask for help.

        Thoughts, examples, site(s) where can pickup info to assist in this???

         If you have any questions and/or problems, please let me know.
         Thanks.
 
Wags ;)
David R. Wagner
Senior Programmer Analyst
FedEx Freight
1.408.323.4225x2224 TEL
1.408.323.4449      FAX
http://fedex.com/us 



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to