Re: question about cron [FIXED]

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

 



I really appreciate you for the title "fixed" .

Generally people do not take care or give feed back after the problem is
solved.


On 12/26/06, Bill Tangren <bjt@xxxxxxxxxxxxxxxx> wrote:

inode0 wrote:
> On 12/26/06, Bill Tangren <bjt@xxxxxxxxxxxxxxxx> wrote:
>> I have one server on which it does not seem that the cron daemon is
>> working. I
>> use cron to do system backups and to rotate those backups (as well as
>> quite a
>> few other things). None of them seem to be happening.
>>
>> My question is, what do I look for in the logs to determine whether or
>> not the
>> cron daemon is running, and if not, why not?
>
> # chkconfig --list crond
> crond           0:off   1:off   2:on    3:on    4:on    5:on    6:off
> # service crond status
> crond (pid 3311) is running...
>
> /var/log/cron may be helpful.
>
> John
>

var/log/cron was what I needed. This is the last entry in /var/log/cron:

Dec 18 09:46:29 mach2 crond[3880]: (CRON) STARTUP (V5.0)
Dec 18 09:46:29 mach2 crond[3880]: (*system*) BAD FILE MODE (/etc/crontab)
Dec 18 09:46:32 mach2 anacron[3944]: Anacron 2.3 started on 2006-12-18
Dec 18 09:46:33 mach2 anacron[3944]: Normal exit (0 jobs run)


I googled on "BAD FILE MODE" and only came up with improper permissions on
/etc/crontab. I had somehow set it to 700, when it needed to be 644. I
think
that fixed the problem.

Thanks everyone!


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux