diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-12 16:45:52 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-10-12 16:45:52 +0000 |
commit | fcc7fb26f24d445bbd72797626cf7cb92aa499b3 (patch) | |
tree | be246d9e45f6df3edab0cc264731bc6afa7d2e2b /perl-install | |
parent | 45190f26bd148d7eb8554c6ef11898f3f6da023e (diff) | |
download | drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar.gz drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar.bz2 drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.tar.xz drakx-fcc7fb26f24d445bbd72797626cf7cb92aa499b3.zip |
generate perl_checker compliant cron tasks
Diffstat (limited to 'perl-install')
-rwxr-xr-x | perl-install/standalone/logdrake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/standalone/logdrake b/perl-install/standalone/logdrake index 84cb9261c..81fd3f5c2 100755 --- a/perl-install/standalone/logdrake +++ b/perl-install/standalone/logdrake @@ -459,12 +459,12 @@ EOF my $email = ) . "'$email';\n\n"; - $cron .= q(local *F; -open F, '|/usr/sbin/sendmail -oi -t'; -print F q(Subject: logdrake Mail Alert + $cron .= q(my $F; +open $F, '|/usr/sbin/sendmail -oi -t'; +print $F q(Subject: logdrake2 Mail Alert From: root@localhost To: ), "$email\n"; -print F $r; +print $F $r; # EOF); output_with_perm "/etc/cron.hourly/logdrake_service", 0755, $cron; |