The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
automate the input in a script
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
automate the input in a script
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-29-2002
rwb1959
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.
rwb1959
View Public Profile
Visit rwb1959's homepage!
Find all posts by rwb1959