Added 'Cron' to subject for easier message filtering
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4366 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
862c94c8ce
commit
a90fb64c03
|
|
@ -33,7 +33,7 @@ sub log {
|
||||||
sub emailLog {
|
sub emailLog {
|
||||||
my ($subject, $logfile, $email) = @_;
|
my ($subject, $logfile, $email) = @_;
|
||||||
|
|
||||||
my $cmd = "mail -s '$subject' $email < $logfile";
|
my $cmd = "mail -s 'Cron <kiran\@gsa3> $subject' $email < $logfile";
|
||||||
system($cmd);
|
system($cmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue