On Fri, Oct 21, 2011 at 3:54 AM, R7h0re4 <r7h0re4@att.net> wrote:
I made a custom script that I want to put into the weekly system cron job and according to my logs the script is not running weekly like it should.
-rwxr--r-- 1 root root 87 Aug 4 13:39 cool_script.sh
According to my information the permission are correct as only root should be able to run system cron jobs.
This is the only thing I have seen in my logs.
Oct 20 03:01:02 localhost anacron[14161]: Anacron started on 2011-10-20 Oct 20 03:01:02 localhost anacron[14161]: Job `cron.weekly' locked by another an acron - skipping Oct 20 03:01:02 localhost anacron[14161]: Will run job `cron.daily' in 12 min. Oct 20 03:01:02 localhost anacron[14161]: Jobs will be executed sequentially Oct 20 03:02:01 localhost anacron[14151]: Job `cron.weekly' started Oct 20 03:02:02 localhost anacron[14151]: Job `cron.weekly' terminated Oct 20 03:02:02 localhost anacron[14151]: Normal exit (1 job run) Oct 20 03:13:02 localhost anacron[14161]: Job `cron.daily' started Oct 20 03:13:55 localhost anacron[14161]: Job `cron.daily' terminated Oct 20 03:13:55 localhost anacron[14161]: Normal exit (1 job run)
I do not have Anacron installed, and my script does not run weekly like it is supposed too, I would like fix this problem.
Any suggestions are welcome!
R7h0re4
Are you using cronie, dcron or some other cron? cronie provides anacron.