InigoMontoya
IS-IT--Management
I have a script that runs in the rc directory. I would like its output standard error and standard out to be redirected to a logfile but also have it time stamped. I have the redirection down ok but the I can't figure out how to time stamp the entries? Can anyone help me? Thanks.
this is what i have so far:
this is what i have so far:
Code:
/path/to/script/script.ksh >> path/to/log/script.log 2>&1