Danny wrote:
I am trying to get this script to run:
#
day=`/bin/date +%m-%d-%Y`
#
/usr/sbin/pflogsumm.pl -i -mailq --smtpd_stats --problems_first
--iso_date_time -d yesterday /home/user/maillog
/var/log/MX1-PostfixDailyReport.${day}
#
gzip -c /var/log/MX1-PostfixDailyReport.${day} | uuencode
Kevin D. Kinsey, DaleCo, S.P. wrote:
Danny wrote:
I am trying to get this script to run:
#
day=`/bin/date +%m-%d-%Y`
#
/usr/sbin/pflogsumm.pl -i -mailq --smtpd_stats --problems_first
--iso_date_time -d yesterday /home/user/maillog
/var/log/MX1-PostfixDailyReport.${day}
#
gzip -c
On Thu, 21 Oct 2004 14:35:07 -0400, Frank Laszlo
[EMAIL PROTECTED] 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: