The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 01-29-2002
rwb1959's Avatar
rwb1959 rwb1959 is offline
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
Try something like...

...
/usr/local/program <<EOF >> $result 2>&1
blah
...
blah
blah
EOF
...

Note the contents of your blahblahblah file
would be placed directly "inline" in your
script being run by cron.