Jetzt führe ich alle 5 Min ( zum testen) ein shell script aus, bzw soll ausgeführt werden. --schnipp-- Betreff: Cron <root@server> * /etc/diald/getmailDM0004 Datum: Mon, 31 May 1999 20:20:00 +0200 (CEST) Von: root@mail.i.matthiess.de (Cron Daemon) An: root@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--
Teilnehmer (2)
-
Frank.Matthiess@t-online.de
-
Ingo Luetkebohle