Re: Crontab doesn't run jobs
- From: VP <telodico@xxxxxxx>
- Date: Mon, 01 Dec 2008 19:42:51 +0100
Dan Espen ha scritto:
VP <telodico@xxxxxxx> writes:
Dan Espen ha scritto:Has anyone asked you to verify that crond is running?
Run this command, looking for this result:
my sys> ps -ef | grep [c]rond
root 2230 1 0 Nov26 ? 00:00:00 crond
yes, mine result
> ps -ef | grep crond
root 2879 2748 0 19:00 tty 00:00:00 grep crond
You should be able to see messages from CROND in /var/log/messages:
my sys> grep -i crond /var/log/messages
in mine there are no messages by with crond
Right as another poster said, the above shows crond is not running.
Do this now:
service crond status
Post result.
You can also try:
service crond restart
service crond status
Post that result too.
i thought it was running because i tried
/etc/init.d/cron start
and it rightly gives me error. if i try with stop or restart it seems to respond ok.
if i do
> if i give the /etc/init.d/cron stop
and give the previous command without final 'd'
> ps -ef | grep cron
i get:
root 2774 2745 0 19:38 tty 00:00:00 grep cron
then if i give the
> /etc/init.d/cron start
and again
> ps -ef | grep cron
i get
root 2777 1 0 19:38 ? 00:00:00 grep /usr/sbin/cron
root 2783 2745 0 19:38 tty 00:00:00 grep cron
what can mean that "?" ?
.
- Follow-Ups:
- Re: Crontab doesn't run jobs
- From: Dan Espen
- Re: Crontab doesn't run jobs
- From: Allen Kistler
- Re: Crontab doesn't run jobs
- References:
- Crontab doesn't run jobs
- From: VP
- Re: Crontab doesn't run jobs
- From: Jean-David Beyer
- Re: Crontab doesn't run jobs
- From: VP
- Re: Crontab doesn't run jobs
- From: Jean-David Beyer
- Re: Crontab doesn't run jobs
- From: VP
- Re: Crontab doesn't run jobs
- From: Dan Espen
- Re: Crontab doesn't run jobs
- From: VP
- Re: Crontab doesn't run jobs
- From: Dan Espen
- Crontab doesn't run jobs
- Prev by Date: Re: Crontab doesn't run jobs
- Next by Date: Re: Crontab doesn't run jobs
- Previous by thread: Re: Crontab doesn't run jobs
- Next by thread: Re: Crontab doesn't run jobs
- Index(es):
Relevant Pages
|