home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!rexago8!aa
- From: aa@rexago8.uucp (Adam Andrews)
- Subject: Re: IF ONLY...
- Message-ID: <1992Sep15.142109.27179@rexago8.uucp>
- Organization: Summit Information Systems
- References: <1992Sep14.202442.28122@rsg1.er.usgs.gov>
- Distribution: usa
- Date: Tue, 15 Sep 1992 14:21:09 GMT
- Lines: 24
-
- mfugazzo@resdgs1.er.usgs.gov (Mark Fugazzotto) writes:
- > If only I could get the output from a script that
- >is executed by cron to display on the terminal!
- >
- > there is a line in the script that reads:
- >
- > echo "bla bla bla bla"
-
- > I'm on a Data General AViiON 300 workstation, running DGUX 5.4.1
-
- I'm not sure how this would differ on your machine, but what I've done
- on ours (3B2 w/ SVR3) is go to the cron file which calls your script, and
- in that line redirect the output of the script to /dev/console, or whatever
- port you would use.
-
- e.g.:
- 00 12 * * * /usr/local/script 2>&1 >/dev/console
-
- alternatively, you could redirect the output of your 'echo' statement.
-
- Just a suggestion...
- --
- Adam Andrews "When the going gets weird, we get even weirder."
- uunet!rexago8!aa or aa@rexago8.UUCP e-mail only to aa@summitis.com
-