Broken crontab/anacron
From: James Pifer (jep_at_obrien-pifer.com)
Date: 01/24/05
- Previous message: David Liguori: "Re: Resize ext3 Partition"
- Next in thread: Marius Andreiana: "Re: Broken crontab/anacron"
- Reply: Marius Andreiana: "Re: Broken crontab/anacron"
- Reply: Robert Nichols: "Re: Broken crontab/anacron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Fedora <fedora-list@redhat.com> Date: Mon, 24 Jan 2005 10:09:58 -0500
I rebuilt one of my systems last week using FC3 and somehow I broke
anacron or crontab. It hasn't run since Jan 20th according to what is in
root's mailbox.
I think the problem is anacron. I can't seem to get it running, or at
least keep it running. It says it starts, but then when I look at the
processes, it isn't running. The problem is I don't see anything in any
logs about problems with it.
Does anacron write logs to messages?
What's the best way to troubleshoot it?
My /etc/crontab HAD this in it:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
00 01 * * * root /root/mythtvdbbackup
00 03 * * * root /root/backupvideos
35 * * * * root /root/mythlink.sh
Now it has this:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
HOME=/
# run-parts
01 * * * * root run-parts /etc/cron.hourly
02 4 * * * root run-parts /etc/cron.daily
22 4 * * 0 root run-parts /etc/cron.weekly
42 4 1 * * root run-parts /etc/cron.monthly
Permissions on it are:
[root@mythtv etc]# ls -l crontab
-rwxr--r-- 1 root root 254 Jan 24 09:22 crontab
Here's what I get when I try to start it.
[root@mythtv etc]# service anacron start
Starting anacron: [ OK ]
[root@mythtv etc]# service anacron status
anacron is stopped
[root@mythtv etc]#
Any help is appreciated.
Thanks,
James
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
- Previous message: David Liguori: "Re: Resize ext3 Partition"
- Next in thread: Marius Andreiana: "Re: Broken crontab/anacron"
- Reply: Marius Andreiana: "Re: Broken crontab/anacron"
- Reply: Robert Nichols: "Re: Broken crontab/anacron"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|