Michael Raab
am Samstag, 22. April 2006 13:12 schrieb Raffael Schmid:
X-Cron-Env:
Das ist ein Cronjob vom root. Also müsste es auch seiner crontab zu finden sein.
ich habe da mal ein paar "Tests" angehängt... Ich habe keine Ahnung wie ich das lösen könnte... ausser der dirty-Variante, dass ich das Script wieder erstelle und einfach eine leere Ausgabe mache... Der Script hatte mal die MyRulesDeJour von SA upgedatet und ich habe ihn gelöscht. --------- WEXOM:~# crontab -l 0,30 * * * * /usr/local/awstats/tools/awstats_updateall.pl now &>/dev/null */5 * * * * mrtg &>/dev/null @daily /root/sqldumps/sqldump.sh &>/dev/null @daily rm -r /data/bkp/www/ && cp -r /srv/www/ /data/bkp/ @reboot /sbin/modprobe usb_storage WEXOM:~# ls -la /var/spool/cron/crontabs/ total 12 drwx-wx--T 2 root crontab 4096 Apr 22 13:55 . drwxr-xr-x 3 root root 4096 Jan 5 15:36 .. -rw------- 1 root crontab 442 Apr 9 14:18 root WEXOM:~# ls -la /etc/cron.* /etc/cron.d: total 28 drwxr-xr-x 2 root root 4096 Apr 22 12:51 . drwxr-xr-x 114 root root 8192 Apr 22 12:58 .. -rw-r--r-- 1 root root 102 Jul 28 2004 .placeholder -rw------- 1 root root 607 Oct 14 2005 john -rw-r--r-- 1 root root 148 Jan 22 2005 mrtg -rw-r--r-- 1 root root 456 May 9 2005 php4 /etc/cron.daily: total 72 drwxr-xr-x 2 root root 4096 Jan 5 15:48 . drwxr-xr-x 114 root root 8192 Apr 22 12:58 .. -rw-r--r-- 1 root root 102 Jul 28 2004 .placeholder -rwxr-xr-x 1 root root 502 Nov 1 2004 bsdmainutils -rwxr-xr-x 1 root root 814 May 27 2005 exim4-base -rwxr-xr-x 1 root root 419 Mar 20 2005 find -rwxr-xr-x 1 root root 89 May 25 2005 logrotate -rwxr-xr-x 1 root root 946 Jan 5 2005 man-db -rwxr-xr-x 1 root root 86 Dec 19 2004 modutils -rwxr-xr-x 1 root root 1335 Oct 4 2005 mysql-server -rwxr-xr-x 1 root root 1320 Sep 16 2005 mysql-server-41 -rwxr-xr-x 1 root root 495 Oct 24 2004 netkit-inetd -rwxr-xr-x 1 root root 1118 Aug 26 2005 ntp-server -rwxr-xr-x 1 root root 383 May 27 2005 samba -rwxr-xr-x 1 root root 83 May 30 2005 slapd -rwxr-xr-x 1 root root 2571 Jul 28 2004 standard -rwxr-xr-x 1 root root 1307 May 25 2005 sysklogd /etc/cron.hourly: total 16 drwxr-xr-x 2 root root 4096 Oct 6 2005 . drwxr-xr-x 114 root root 8192 Apr 22 12:58 .. -rw-r--r-- 1 root root 102 Jul 28 2004 .placeholder /etc/cron.monthly: total 20 drwxr-xr-x 2 root root 4096 Dec 10 18:06 . drwxr-xr-x 114 root root 8192 Apr 22 12:58 .. -rw-r--r-- 1 root root 102 Jul 28 2004 .placeholder -rwxr-xr-x 1 root root 129 Jul 28 2004 standard /etc/cron.weekly: total 32 drwxr-xr-x 2 root root 4096 Nov 7 15:18 . drwxr-xr-x 114 root root 8192 Apr 22 12:58 .. -rw-r--r-- 1 root root 102 Jul 28 2004 .placeholder -rwxr-xr-x 1 root root 318 Jul 27 2004 lpr -rwxr-xr-x 1 root root 520 Jan 5 2005 man-db -rwxr-xr-x 1 root root 665 Aug 26 2005 ntp-server -rwxr-xr-x 1 root root 1092 May 25 2005 sysklogd