Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2004 14:56:24 -0400
From:      Danny <nocmonkey@gmail.com>
To:        Frank Laszlo <laszlof@vonostingroup.com>
Cc:        FreeBSD-questions <questions@freebsd.org>
Subject:   Re: OT: date command for pflogsumm.pl Script - undefined variable
Message-ID:  <addc34c604102111565e9cd5d3@mail.gmail.com>
In-Reply-To: <4178015B.3080307@vonostingroup.com>
References:  <addc34c604102107571d7f915e@mail.gmail.com> <4177D424.3040702@daleco.biz> <4178015B.3080307@vonostingroup.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 21 Oct 2004 14:35:07 -0400, Frank Laszlo
<laszlof@vonostingroup.com> wrote:
> Sounds like *NOT* /bin/sh. try adding:
> #!/bin/sh
> 
> to the top of the script.

Thanks Frank, the script has other incompatibilities with my config,
so I just ended up editing /etc/crontab and added:

 /usr/sbin/pflogsumm.pl /var/log/maillog | /usr/bin/mailx -s
"`uname -n` daily mail stats" root

This will do the job for now.

...D



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?addc34c604102111565e9cd5d3>