Ständige eMail vom Server HILFE !!

Plesk, Confixx, Froxlor, SysCP, SeCoTo, IspCP, etc.
Post Reply
lordbogami
Posts: 13
Joined: 2004-10-29 10:30
 

Ständige eMail vom Server HILFE !!

Post by lordbogami »

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 ?

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
Matthias Diehl
Posts: 315
Joined: 2002-09-24 13:26
 

Re: Ständige eMail vom Server HILFE !!

Post by Matthias Diehl »

statt "php" mal den kompletten Pfad angeben.....
Post Reply