Crontab die zweitte
Frank Matthieß
Frank.Matthiess at t-online.de
Mon May 31 20:33:46 CEST 1999
Jetzt führe ich alle 5 Min ( zum testen) ein shell script aus, bzw
soll ausgeführt werden.
--schnipp--
Betreff:
Cron <root at server> * /etc/diald/getmailDM0004
Datum:
Mon, 31 May 1999 20:20:00 +0200 (CEST)
Von:
root at mail.i.matthiess.de (Cron Daemon)
An:
root at mail.i.matthiess.de
bin/sh: bin: command not found
--schnapp--
Das ist die Mail die von cron kommt.
die crontab sieht wie folgt aus:
--schnipp--
PATH=/sbin:/usr/sbin:/usr/bin:/bin:/usr/bin:/root/bin
MAILTO=root
#
#
#
#0 * * * 1-5 /root/getmail.DM0004.sh
0-59/5 * * * * * /etc/diald/getmailDM0004
--schnapp--
Mein shellscript /etc/diald/getmailDM00004 (root.root / -rwxr-xr-x)
sieht so aus:
--schnipp--
#!/bin/sh
LINKNAME=ppp0.remote
/bin/echo Start ping $LINKNAME
/bin/ping -c 6 -i 15 $LINKNAME
--schnapp--
More information about the Linux
mailing list