Ausgabeumlenkung und time

From: Marc Santhoff <M.Santhoff(at)t-online.de>
Date: Mon, 01 Oct 2001 07:35:53 +0200

Hallo da draußen!

Ich möchte auf einem Server ein Kommando ausführen
und dessen Dauer bestimmen. Die Ausgabe des Kommandos
und die Ausgabe von time sollen möglichst in einer
Mail stehen.

Im Moment passiert dies:

/usr/local/sbin/fetchnews 2>&1 | mail -s "fetchnews report" marc

wenn ich time davor setze, wird mir nur dessen
Ausgabe zugemailt.

Wie mach' Ich's richtig ;-) ?

Gruß,
Marc

To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 01 Oct 2001 - 07:29:19 CEST

search this site