[comp.unix.ultrix] "batch log" from commands executed by cron

mark@cda.mrs.umn.edu (Mark Van Overbeke) (11/10/90)

Ultrix Folks!

  Is it possible, and if so how, to have cron "log" the commands it
executes along with any output from a program that it runs?
Specifically, I have a shell script that does nightly dumps and would
like to see the stuff that dump puts to the screen, while doing it
interactively, to a file.  This would be similar to the effect on VMS of
doing a set verify at the beginning of the command procedure.  I have
tried a couple of different redirections of the output but have not
gotten what I want.  Is it possible to do this???  Thanks

 
Mark Van Overbeke                      Systems Software Programmer
Behmler Hall, Room 10C                 (612) 589-2211  ext. 6378          
E. 4th Street and College Ave.         BITNET:    Mark@UMNMOR.BITNET 
University of Minnesota, Morris        INTERNET:  Mark@caa.mrs.umn.edu 
Morris, MN   56267                                mark@cda.mrs.umn.edu