Cron - crontab problem

From: Marian Hettwer <MH(at)kernel32.de>
Date: Mon, 11 Jun 2001 12:43:58 +0200

Guten Morgen Liste,

Ich hab da glaube ich ein ernsthaftes Problem mit meinen crontabs.
Nachdem ich alle manpages zu cron und crontab durchforstet habe, hatte
ich vor die root crontab ein wenig anzugleichen.
Ich hatte vor alle 5 minuten ein kleines shellscript auszuführen, was
meine ip adresse zu yi.org schickt. yi.org ist so ein anbieter wie dynip
oder ähnliche. Man schickt denne seine IP adresse auf seinen accoutnamen
und kann dann seinen eigenen web(ftp)server (der auf der gesendeten IP
adresse läuft) unter name.yi.org erreichen.
Soweit so gut, oder schlecht.
Seit meiner Veränderung an der crontab von root (vor einigen Wochen)
bekomme ich eine regelrechte flut an mails an den root account.
... hab da wohl was falsch gemacht, hm ?
die mails sehen wie folgt aus:
_________
Subject: Cron <root(at)titan> root /usr/libexec/atrun

root: not found
_________

in der cron.log findet sich dann meist so eine zeile:
_________
Jun 11 11:25:01 titan /USR/SBIN/CRON[570]: (root) CMD
(/usr/libexec/atrun)
_________
Jun 11 11:25:01 titan /USR/SBIN/CRON[571]: (root) CMD
(root^I/usr/libexec/atrun)
_________

uuund, die crontab von root sieht unter /etc wie folgt aus:
_________
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (root installed on Sat Jun 2 17:04:35 2001)
# (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v
1.12.2.2 2000/12/11 01:03:31 obrien Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (crontab installed on Sat May 26 23:54:00 2001)
# (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v
1.12.2.2 2000/12/11 01:03:31 obrien Exp $)
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday who command
#
*/5 * * * * root /usr/libexec/atrun

#
# rotate log files every hour, if necessary
0 * * * * root newsyslog
#
# do daily/weekly/monthly maintenance
1 3 * * * root periodic daily
15 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
#
# time zone change adjustment for wall cmos clock,
# does nothing, if you have UTC cmos clock.
# See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a
_________

und unter /var/cron/tabs/ sieht meine root crontab so aus:
_________
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (root installed on Sat Jun 2 17:04:35 2001)
# (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v
1.12.2.2 2000/12/11 01:03:31 obrien Exp $)
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (crontab installed on Sat May 26 23:54:00 2001)
# (Cron version -- $FreeBSD: src/usr.sbin/cron/crontab/crontab.c,v
1.12.2.2 2000/12/11 01:03:31 obrien Exp $)
# /etc/crontab - root's crontab for FreeBSD
#
# $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $
#
SHELL=/bin/sh
PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=/var/log
#
#minute hour mday month wday who command
#
*/5 * * * * root /usr/libexec/atrun

#
# rotate log files every hour, if necessary
0 * * * * root newsyslog
#
# do daily/weekly/monthly maintenance
1 3 * * * root periodic daily
15 4 * * 6 root periodic weekly
30 5 1 * * root periodic monthly
#
# time zone change adjustment for wall cmos clock,
# does nothing, if you have UTC cmos clock.
# See adjkerntz(8) for details.
1,31 0-5 * * * root adjkerntz -a
__________

sieht ganz genauso aus, hm ?
sollte es aber meines wissens garnicht.

tja, was nun ?

auf hiiilfe hoffend verbleibe ich mit einem freundlichen gruss :)

-- 
now playing: Amorphis - Goddess (of the sad man)
Marian Hettwer
12683 Berlin
ICQ: 8405669
	Was wir wissen, ist ein Tropfen; was wir nicht wissen, ein Ozean.
(Isaac Newton)
To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org
with "unsubscribe de-bsd-questions" in the body of the message
Received on Mon 11 Jun 2001 - 12:42:16 CEST

search this site