[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: /etc/cron.d/myfile not working



On Friday 06 August 2004 17:15, Doncho N. Gunchev wrote:
>     I use some files in /etc/cron.d/ to scedule some backups, but with FC3t1
> even /etc/cron.d/mrtg is not working. I have selinux=disabled. If I put these
> commands in /etc/crontab they do work fine. Can someone tell me what's the
> problem?
> 
    I found the problem, the file must be readable only by root, it must not
be symlink and it must not be hardlinked (my case). The error are:
Mon DD HH:MM:SS fc3t1 crond[8876]: (*system*) BAD LINK COUNT (/etc/cron.d/myfile)
Mon DD HH:MM:SS fc3t1 crond[8934]: (*system*) BAD FILE MODE (/etc/cron.d/myfile)
    I didn't like that I can not have symlinks, so I made it hardlink and forgot...

-- 
Regards,
  Doncho N. Gunchev    Registered Linux User #291323 at counter.li.org
  GPG-Key-ID: 1024D/DA454F79                        http://pgp.mit.edu
  Key fingerprint = 684F 688B C508 C609 0371  5E0F A089 CB15 DA45 4F79



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]