Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Sat, 20 May 2007 @ 00:21:15 GMT


     
  <Prev Next>   <<First <Prev
Next>
Last>>
 


Subj:   Re: Full path for schmon
 
From:   McCall, Glenn David

This may be happening because at (and cron) jobs don't read your .profile

Try inserting the following (note the spaces are critical) near the top of your script. If you have one, the following should go *after* the "#!..." line which must always be first. Here is the extra command:

     . ./.profile

Failing that, you can find the path of any command using the type command.

For example:

     type ls

Should produce "ls is a tracked alias for /usr/bin/ls".


Glenn Mc



     
  <Prev Next>   <<First <Prev
Next>
Last>>
 
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023