Hallo Liste, was bitte fehlt hier noch, um die letzte Zeile in crontab minutlich abzuarbeiten?? */1**** root /usr/bin/check-temperature oder ist die leerzeile fehlerhaft?????? ---------------------------------------------------------------------------------------------------- linux:/home/frank # cat /etc/crontab 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 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 */1**** root /usr/bin/check-temperature linux:/home/frank # ------------------------------------------------------------------------------------------------------------------ Ich danke für eure Hilfe. -- Viele Grüße Frank SuSE LINUX professional 9.0 Medion MD 5400 Pentium 4 Prozessor
WARNING: Unsanitized content follows. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hallo Frank! fehlen da evtl. Blanks zwischen den Sternchen? - - Werner - Am Freitag, 16. Juli 2004 14:14 schrieb frank:
Hallo Liste, was bitte fehlt hier noch, um die letzte Zeile in crontab minutlich abzuarbeiten?? */1**** root /usr/bin/check-temperature
oder ist die leerzeile fehlerhaft?????? --------------------------------------------------------------------------- ------------------------- linux:/home/frank # cat /etc/crontab 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 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
*/1**** root /usr/bin/check-temperature linux:/home/frank # --------------------------------------------------------------------------- ---------------------------------------
Ich danke für eure Hilfe. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQFA98hSjUuP9UZsam0RAtF5AKDPR28gahMT/wcShAA6AiAUtH7KHwCgolue jGXzoRb2GUW7eWzJ2ff1AgU= =xO2N -----END PGP SIGNATURE-----
Am Freitag, 16. Juli 2004 14:21 schrieb Werner Modenbach:
WARNING: Unsanitized content follows. Hallo Frank!
fehlen da evtl. Blanks zwischen den Sternchen?
tatsächlich, habe ich geändert, danke
- Werner -
Am Freitag, 16. Juli 2004 14:14 schrieb frank:
Hallo Liste, was bitte fehlt hier noch, um die letzte Zeile in crontab minutlich abzuarbeiten?? */1**** root /usr/bin/check-temperature
oder ist die leerzeile fehlerhaft?????? ------------------------------------------------------------------------- -- ------------------------- linux:/home/frank # cat /etc/crontab 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 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
*/1**** root /usr/bin/check-temperature linux:/home/frank # ------------------------------------------------------------------------- -- ---------------------------------------
Ich danke für eure Hilfe.
-- Viele Grüße Frank SuSE LINUX professional 9.0 Medion MD 5400 Pentium 4 Prozessor
Hallo Frank, Am Fr, den 16.07.2004 schrieb frank um 14:14:
Hallo Liste, was bitte fehlt hier noch, um die letzte Zeile in crontab minutlich abzuarbeiten?? */1**** root /usr/bin/check-temperature
*/1**** root /usr/bin/check-temperature
Probiers mal mit:
*/1 * * * * root /usr/bin/check-temperatur
Das Script ist ausfuehrbar?
HTH
--
peter thill
Am Freitag, 16. Juli 2004 14:24 schrieb peter thill:
Hallo Frank,
Am Fr, den 16.07.2004 schrieb frank um 14:14:
Hallo Liste, was bitte fehlt hier noch, um die letzte Zeile in crontab minutlich abzuarbeiten?? */1**** root /usr/bin/check-temperature
*/1**** root /usr/bin/check-temperature
Probiers mal mit:
*/1 * * * * root /usr/bin/check-temperatur
Das Script ist ausfuehrbar?
Ja, das scribt funzt, und die blanks zwischen den Sternchen sind auch geändert. aber es geht immer noch nicht: Frage ist es jetzt richtig?? linux:/home/frank # cat /etc/crontab 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 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 */1 * * * * root/usr/bin/check-temperature linux:/home/frank # ich denke bei : müßte zumindest minutlich was passieren??? linux:/home/frank # tail -f /var/log/messages Jul 16 18:29:36 linux kernel: Linux video capture interface: v1.00 Jul 16 18:30:20 linux kdm[2885]: pam_unix2: session started for user franky, service xdm Jul 16 18:30:20 linux resmgr[1279]: accepted connection from user root Jul 16 18:30:20 linux resmgr[1279]: disconnect from root Jul 16 18:31:53 linux su: (to root) franky on /dev/pts/1 Jul 16 18:31:53 linux su: pam_unix2: session started for user root, service su Jul 16 18:37:29 linux su: (to root) franky on /dev/pts/2 Jul 16 18:37:29 linux su: pam_unix2: session started for user root, service su Jul 16 18:40:12 linux su: (to root) franky on /dev/pts/3 Jul 16 18:40:12 linux su: pam_unix2: session started for user root, service su ich glaube es ist nur noch ein kitzekleiner Fehler, aber wo.
HTH -- peter thill
-- Viele Grüße Frank SuSE LINUX professional 9.0 Medion MD 5400 Pentium 4 Prozessor
On Freitag, 16. Juli 2004 18:45 frank wrote:
*/1 * * * * root/usr/bin/check-temperature
Fehlt da jetzt nicht ein Leerzeichen zwischen "root" und dem Befehl? MfG Gerrit -- Wie war das noch gleich: "Das dreieckige Rad ist gegenüber dem viereckigen Rad ein Fortschritt, weil es pro Umdrehung einmal weniger hoppelt."
Am Fre, 2004-07-16 um 18.53 schrieb Gerrit Visscher:
On Freitag, 16. Juli 2004 18:45 frank wrote:
*/1 * * * * root/usr/bin/check-temperature
Fehlt da jetzt nicht ein Leerzeichen zwischen "root" und dem Befehl?
Hmmm, ja. *SCNR*
MfG Gerrit -- _/_/_/ Peter Thill Registered Linux user number 340982. _/_/_/ peter_thill@web.de Please visit: http://counter.li.org/ _/_/_/ www.peterthill.de.vu _/_/_/ -- Yesterday is history, tomorow is a mystery --
Am Freitag, 16. Juli 2004 19:13 schrieb Peter Thill:
Am Fre, 2004-07-16 um 18.53 schrieb Gerrit Visscher:
On Freitag, 16. Juli 2004 18:45 frank wrote:
*/1 * * * * root/usr/bin/check-temperature
Fehlt da jetzt nicht ein Leerzeichen zwischen "root" und dem Befehl?
Hi Geritt und Peter, danke mein cronjob läuft, muß halt noch Syntax büffeln. -- Viele Grüße Frank SuSE LINUX professional 9.0 Medion MD 5400 Pentium 4 Prozessor
On Freitag, 16. Juli 2004 14:14 frank wrote:
Hallo Liste, was bitte fehlt hier noch, um die letzte Zeile in crontab minutlich abzuarbeiten?? */1**** root /usr/bin/check-temperature
Ich schließe mich meinen Vorrednern an, da cron doch minütlich checkt, reicht: * * * * * root /usr/bin/check-temperature (mit Leerzeichen) MfG Gerrit
participants (5)
-
frank
-
Gerrit Visscher
-
peter thill
-
Peter Thill
-
Werner Modenbach