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.
anacron not running cron.daily scripts
anacron not running cron.daily scripts
check /var/log/cron for errors
are your jobs working correctly?
show your cron.daily directory
are your jobs working correctly?
show your cron.daily directory
Re: anacron not running cron.daily scripts
[quote]
jvalencia wrote:
check /var/log/cron for errors
are your jobs working correctly?
show your cron.daily directory[/quote]
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
jvalencia wrote:
check /var/log/cron for errors
are your jobs working correctly?
show your cron.daily directory[/quote]
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
Re: anacron not running cron.daily scripts
Any ideas?
Re: anacron not running cron.daily scripts
yum install cronie
service crond start
--
gl&hf
service crond start
--
gl&hf