View Single Post

   
  #1 (permalink)  
Old 01-04-2008, 11:44 PM
Tim Wilson
 
Posts: n/a
Default Output to file lost when using cron

Hello,
I have a simple script that runs the following command:
w | grep load >/tmp/load.stat
When executing as 'root' user it sends the output to the file
correctly. If I have the script run from cron no output is generated.
I am running this on an RS6000 using AIX v4.3. Would you tell me what
I need to do to have this work correctly from cron?
Reply With Quote