> i install a cronjob to activate webalizer once a day...
> crontab -l answers:
> 22 2 * * * admin /bin/webalizer -n www.discount.de -o
> /www/vhtdocs/discount/statistik /www/vhtdocs/discount/log/access_log
> when time is come i get a mail message:
> /bin/bash: admin: command not found
> when i use the cron command in a telnet line it works.
admin is not a command. You may want to script that and call the script
0 1 * * * /usr/local/sbin/scripts/webalize.sh > /dev/null 2>&1
/sbin/webalizer -n www.discount.de -o /www/vhtdocs/discount/statistik
then in /etc/aliases have the line:
That way, if you want to also do something like DNS lookups, you only
need to add another line to have a temporary file for the addresses and
then delete the temp file at the end of the script.