OT: date command for pflogsumm.pl Script - undefined variable

Danny nocmonkey at gmail.com
Thu Oct 21 11:56:27 PDT 2004


On Thu, 21 Oct 2004 14:35:07 -0400, Frank Laszlo
<laszlof at 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


More information about the freebsd-questions mailing list