I have here 2 types of Linux systems:  RedHat 9 anc CentOS 4.4 which is
really a RH copycat.
Here's my findings:

On RH 9:
-------------
[EMAIL PROTECTED] /]# uname -a
Linux tivon1 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386
GNU/Linux
[EMAIL PROTECTED] /]# cat /etc/redhat-release
Red Hat Linux release 9 (Shrike)
[EMAIL PROTECTED] /]# cd /usr/lib/cron
/usr/lib/cron: No such file or directory.
[EMAIL PROTECTED] /]# cd /etc/sysconfig/cron
/etc/sysconfig/cron: No such file or directory.
[EMAIL PROTECTED] /]# cd /var/spool/
[EMAIL PROTECTED] spool]# find . -name "cron*" -print
./cron
./anacron/cron.daily
./anacron/cron.weekly
./anacron/cron.monthly
[EMAIL PROTECTED] spool]# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

=========================================================
On CentOS 4.4:
-----------------------
[EMAIL PROTECTED] /]# uname -a
Linux sp.pointer.co.il 2.6.9-34.0.2.EL #1 Fri Jul 7 19:24:57 CDT 2006 i686
i686 i386 GNU/Linux
[EMAIL PROTECTED] /]# cat /etc/redhat-release
CentOS release 4.4 (Final)
[EMAIL PROTECTED] /]# cd /usr/lib/cron
bash: cd: /usr/lib/cron: No such file or directory
[EMAIL PROTECTED] /]# cd /etc/sysconfig/cron
bash: cd: /etc/sysconfig/cron: No such file or directory
[EMAIL PROTECTED] /]# cd /var/spool/
[EMAIL PROTECTED] spool]# find . -name "cron*" -print
./cron
./anacron/cron.daily
./anacron/cron.weekly
./anacron/cron.monthly
[EMAIL PROTECTED] spool]# cat /etc/crontab
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/

# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly

============================================================


On 11/27/06, Shai Shkolnitsky <[EMAIL PROTECTED]> wrote:

I have found some important thing regarding my upcoming lecture, that
would help expand it a bit (And maybe make it interesting for non SiL guys).
Yet, with all the inconsistencies between the distributions I want to make
sure if that kind of thing is at all valid.

If you would be so kind as to check whether the following files exist on
your system as well, I would be really grateful.

/usr/lib/cron/run-crons
/etc/sysconfig/cron

And one more thing, if you have spare time. Please search a dir named
"crontabs" or "cron/tabs", possibly in /var/spool/ (Permission to the parent
directory might be privileged).

Please send me your findings with a distribution and version.


Thank you for your precious time and cooperation.
--
Shai S.

"Be wevy wevy quiet, I'm huntin' Penguins"
      Steve "FUD" Jobs




--
Ilan Aisic
Registered Linux User 8124 http://counter.li.org

Reply via email to