LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: Michael Davies <michaeld@senet.com.au>
  To  : tech (E-mail) <jimmyk@techexcel-sa.com.au>
  Date: 01 Apr 2002 21:15:12 +0930

Re: @##@^%&^ CRON

On Thu, 2002-03-28 at 09:04, tech (E-mail) wrote:
> The following is an e-mail for cron. I have checked that /etc/cron.hourly is
> a directory, even created a new directory of the same name but still get
> this hourly message (I also get one daily etc etc) Using standard RH 7.1
> upgraded from RH6
> 
> Is there a fix?

Hmmm, what rpm package provides /etc/cron.hourly?

[mikey@shadowfax mikey]$ rpm -qf /etc/cron.hourly
crontabs-1.10-1

What files are in that?

[mikey@shadowfax mikey]$ rpm -ql crontabs
/etc/cron.daily
/etc/cron.hourly
/etc/cron.monthly
/etc/cron.weekly
/etc/crontab
/usr/bin/run-parts

What permissions/kinds of file system thingies are they?

[mikey@shadowfax mikey]$ ls -lad `rpm -ql crontabs`
drwxr-xr-x    2 root     root         4096 Nov 11 20:00 /etc/cron.daily
drwxr-xr-x    2 root     root         4096 Jul 20  2001 /etc/cron.hourly
drwxr-xr-x    2 root     root         4096 Nov 11 19:53
/etc/cron.monthly
-rw-r--r--    1 root     root          255 Jul 20  2001 /etc/crontab
drwxr-xr-x    2 root     root         4096 Nov 11 19:53 /etc/cron.weekly
-rwxr-xr-x    1 root     root          749 Jul 20  2001
/usr/bin/run-parts

Let's see if these have changed any from the virgin rpms?

[mikey@shadowfax mikey]$ rpm -V crontabs 

In my case no output as nothing has changed.  You'll probably see some
output as things aren't working :-)

You probably want to reinstall the rpm file for anacron, which is,
called funnily enough, anacron-*.rpm

See 'man rpm' on how to do this,

Hope this sets you on a path for greater learning,

Michael...
-- 
Michael Davies            michaeld@senet.com.au
I am dumb - most of the time I'm playing smart.


-- 
LinuxSA WWW: http://www.linuxsa.org.au/  IRC: #linuxsa on irc.linux.org.au
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page