|
From: | aws backup |
Subject: | Re: Sending Command Pipeline to a detached Screen |
Date: | Wed, 30 Nov 2016 02:25:22 +0200 |
Hello, now I built following pipe example: screen -dmS Screen-Name /bin/bash -c "Command1 | tee logfile | mail -s 'subject' address@hidden" Works fine so fare that I have the log file and get a notification email with the log as well. But now nothing appears anymore in the screen because it pipes it to the mail. Any suggestion how to get the stdout back to the screen session and still having the log and the email? Thank you. Robert
|
[Prev in Thread] | Current Thread | [Next in Thread] |