From 9ece8f5ae9991f844353cd1d7e7a302e118a1c2e Mon Sep 17 00:00:00 2001 From: Daouda Lo Date: Fri, 2 Aug 2002 17:27:31 +0000 Subject: - expand $email in cron script --- perl-install/standalone/logdrake | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake index a815104ed..9c0fb84dd 100755 --- a/perl-install/standalone/logdrake +++ b/perl-install/standalone/logdrake @@ -468,6 +468,9 @@ $r .= "Load is huge: $load\n" if ($load >@ . "$load);\n\n"; $cron .= q@#- report it@; if ($mail) { + $cron .= q@ +$email = @."$email;\n\n"; + $cron .= q! open F, '|/usr/sbin/sendmail -oi -t'; @@ -554,6 +557,9 @@ sub destroy_window { # log # $Log$ +# Revision 1.21 2002/08/02 17:27:31 daouda +# - expand $email in cron script +# # Revision 1.20 2002/08/02 17:10:01 daouda # - disable sms alerts (free sms site too complicated to # handle). Postponed -- cgit v1.2.1