Ständige eMail vom Server HILFE !!
Posted: 2004-11-20 02:58
Hallo Leute,
ich hab meine crontab ändern als ich cacti installiert hab.
Jetzt bekomme ich alle 5 Minuten eine eMail
mit dem
Betreff: Cron <web0@p15162305> php /home/htdocs/web0/html/cacti-0.8.6b/poller.php > /dev/null 2>&1
Text: /bin/sh: line 1: 1
: ambiguous redirect
Anbei die crontab. Was ist da falsch ?
ich hab meine crontab ändern als ich cacti installiert hab.
Jetzt bekomme ich alle 5 Minuten eine eMail
mit dem
Betreff: Cron <web0@p15162305> php /home/htdocs/web0/html/cacti-0.8.6b/poller.php > /dev/null 2>&1
Text: /bin/sh: line 1: 1
: ambiguous redirect
Anbei die crontab. Was ist da falsch ?
Code: Select all
SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
#
# check scripts in cron.hourly, cron.daily, cron.weekly, and cron.monthly
#
*/15 * * * * root test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1
*/5 * * * * web0 php /home/htdocs/web0/html/cacti-0.8.6b/poller.php > /dev/null 2>&1
59 * * * * root rm -f /var/spool/cron/lastrun/cron.hourly
14 4 * * * root rm -f /var/spool/cron/lastrun/cron.daily
29 4 * * 6 root rm -f /var/spool/cron/lastrun/cron.weekly
44 4 1 * * root rm -f /var/spool/cron/lastrun/cron.monthly