Hi Liste, wie verhindere ich, daß ein Skript, das alle 10 Minuten mit einem crontab ausgeführt wird, einen Eintrag in /var/log/messages macht? tia Alex -------------schnipp----------------- May 6 12:10:00 pluto /USR/SBIN/CRON[3831]: (root) CMD (##das script, das ausgeführt wird##) May 6 12:20:00 pluto /USR/SBIN/CRON[3854]: (root) CMD (##das script, das ausgeführt wird##) May 6 12:30:00 pluto /USR/SBIN/CRON[3859]: (root) CMD (##das script, das ausgeführt wird##) May 6 12:40:00 pluto /USR/SBIN/CRON[3879]: (root) CMD (##das script, das ausgeführt wird##) -------------schnapp----------------
On Sunday 06 May 2001 13:56, Alex Klein wrote:
wie verhindere ich, daß ein Skript, das alle 10 Minuten mit einem crontab ausgeführt wird, einen Eintrag in /var/log/messages macht?
Vor den entsprechenden Eintrag in /etc/crontab ein '-' stellen. man 5 crontab Martin Borchert -- when in danger or in doubt, run in circles, scream and shout! pgp-key: via wwwkeys.pgp.net, key id is 0x21eec9b0
Hi, On Sun, 6 May 2001, Martin Borchert wrote:
On Sunday 06 May 2001 13:56, Alex Klein wrote:
wie verhindere ich, daß ein Skript, das alle 10 Minuten mit einem crontab ausgeführt wird, einen Eintrag in /var/log/messages macht?
Vor den entsprechenden Eintrag in /etc/crontab ein '-' stellen.
Funktioniert nur wenn der crontab von root aufgerufen wird. Henne -- Hendrik Vogelsang aka Henne mailto: mickey@naturalbornkiller.de Wh ... what's going on? Wh ... wha ... why am I on a Japanese box? Homer Simpson - In Marge We Trust # random sigs made with fortune
Hi, On Sun, 6 May 2001, Alex Klein wrote:
wie verhindere ich, daß ein Skript, das alle 10 Minuten mit einem crontab ausgeführt wird, einen Eintrag in /var/log/messages macht?
cat /etc/syslog.conf | grep cron *.*;mail.none;news.none;cron.none /dev/tty10 *.*;mail.none;news.none;cron.none |/dev/xconsole *.*;mail.none;news.none;cron.none -/var/log/messages Henne -- Hendrik Vogelsang aka Henne mailto: mickey@naturalbornkiller.de I may just quit my job at the plant to become a full-time stock market guy. Homer Simpson - Burns Verkaufen Der Kraftwerke # random sigs made with fortune
participants (3)
-
Alex Klein
-
Henne Vogelsang
-
Martin Borchert