On Friday 01 February 2008 08:48:02 Peter Boosten wrote:
[EMAIL PROTECTED] wrote:
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip
Zbigniew Szalbot wrote:
Hello,
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz |
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail
-s logfile
[EMAIL PROTECTED] wrote:
I know I can use
mail -s logfile /var/log/httpd_access.log
in cron to email the content of a log file to a particular email
address but how do I make that log file a binary attachment (*.gz)?
gzip -c /var/log/httpd_access.log | uuencode httpd_access.log.gz | mail
-s