anacron not running cron.daily scripts

General support questions
dotmil
Posts: 3
Joined: 2012/08/24 21:40:09

anacron not running cron.daily scripts

Postby dotmil » 2012/08/24 21:45:24

Hi all,

I have a server running CentOS 6.3 and have run into a problem. I know about the change to use anacron to run scheduled jobs, but for some reason on this server it only runs jobs in cron.hourly. It never moves on to cron.daily or monthly. The anacrontab is set to the default and /etc/crontab is empty.

If I run anacron -s manually then it runs the daily scripts however. Any ideas why this isn't working automatically? Any suggestions are appreciated.

jvalencia
Posts: 15
Joined: 2012/08/02 11:47:38

anacron not running cron.daily scripts

Postby jvalencia » 2012/08/25 08:52:59

check /var/log/cron for errors

are your jobs working correctly?

show your cron.daily directory

dotmil
Posts: 3
Joined: 2012/08/24 21:40:09

Re: anacron not running cron.daily scripts

Postby dotmil » 2012/08/27 15:51:00

jvalencia wrote:
check /var/log/cron for errors

are your jobs working correctly?

show your cron.daily directory


Nothing shows errors, but the dates never update. This was the last manual run and last mention of logrotate;
Aug 24 21:32:34 edgar run-parts(/etc/cron.daily)[52962]: starting logrotate
Aug 24 21:32:34 edgar run-parts(/etc/cron.daily)[52976]: finished logrotate

All jobs work correctly when run manually

Contents of /etc/cron.daily:
[/etc/cron.daily]# ls
./ logrotate* maldet* prelink* tmpwatch*
../ makewhatis.cron* mlocate.cron* readahead.cron*


Thanks

dotmil
Posts: 3
Joined: 2012/08/24 21:40:09

Re: anacron not running cron.daily scripts

Postby dotmil » 2012/09/02 12:15:02

Any ideas?

aniserg
Posts: 3
Joined: 2012/09/14 07:42:21

Re: anacron not running cron.daily scripts

Postby aniserg » 2012/09/14 07:44:26

yum install cronie
service crond start

--
gl&hf


Return to “CentOS 6 - General Support”

Who is online

Users browsing this forum: No registered users and 1 guest