[CentOS] Runing a script under cron. Append stdout and stderr to a log file, propagate stderr back to cron for email reporting

Ignacio Vazquez-Abrams ivazqueznet at gmail.com
Sat Sep 22 15:04:28 UTC 2007


On Sat, 2007-09-22 at 17:11 +0300, Alexander Georgiev wrote:
> I would like the lines in their initial sequence.
> 
> Do you know a shell trick or a tool that I can use to achive desired goal?

Can't be done. stdout and stderr aren't synchronized.

-- 
Ignacio Vazquez-Abrams <ivazqueznet at gmail.com>

PLEASE don't CC me; I'm already subscribed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070922/c9b70ec4/attachment.sig>


More information about the CentOS mailing list