ITEM: AC7503L

Question: When job running from CRON, where does it get



Question:

Question: When job running from CRON, where does it get the 
value for the path evironment variable?

Response:


   Env:
        3.2.5 on a C10
   Desc:
        Question:
                Where does cron get its path to execute programs in c shell?

   Action:
        I responded with "cron is intended to run with limited environment
        information and the path should be provided in crontab as absolute 
        paths to each item to be referenced and within the scripts that 
        are executed." 
        I told him that I was not aware of a place he could set the path 
        for cron jobs to run. 
        Tom did not bring up that it was c shell until I had given him the
        answer above.  
        I told him that I do not know of a place to set the path variable 
        for cron for k or c shells.
        I told him that I would research this including checking the source
        code but that did not satisfy him.  
   Next Action:
        Researching.
   Test Case:
        na

Response:

Response:

ACT:
        Left voice mail for Tom telling him that the file /etc/environment
        provides environment information for all processes including cron.
        So cron gets its path there when is cron is started. 

NEXT:           
        Closing call.


Support Line: Question: When job running from CRON, where does it get ITEM: AC7503L
Dated: April 1996 Category: N/A
This HTML file was generated 99/06/24~13:30:30
Comments or suggestions? Contact us