Re: Cron jobs not working..
From: ravi (v.r.sankar_at_gmail.com)
Date: 01/07/05
- Next message: all mail refused: "Re: Cron jobs not working.."
- Previous message: all mail refused: "Re: Restarting sshd without interruption"
- In reply to: Chris Thompson: "Re: Cron jobs not working.."
- Next in thread: all mail refused: "Re: Cron jobs not working.."
- Reply: all mail refused: "Re: Cron jobs not working.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 6 Jan 2005 20:03:33 -0800
Chris Thompson wrote:
> In article <1105019058.125397.157360@c13g2000cwb.googlegroups.com>,
> ravi <v.r.sankar@gmail.com> wrote:
> [... snip ...]
> >
> >I donot have permissions to look into the /var/cron/log file...( no
> >root access :( )
>
> Then you should consult whoever maintains your system for you.
>
Yeah ..I am doing that ..but I am not sure whether the fault is from
their side or from my side..I mean the script is doing sumthing
fussy...
> >Can any one tell what could be the possible reasons for the cron job
> >'Not starting" case.?
>
> It could be all sorts of things: that's why you need to find out what
> is in the log file.
>
> One possibility is that cron is already running the maximum number
(100)
> of jobs - this is usually because all (or most) of them are stuck in
> some way. "ptree [pid-of-cron]" will make it clear whether that is
the
> problem or not.
Thank you very much for the tips..it is infact the case of cron queue
getting full..
The following is the extract of the mail from root to me..
" root ran out of cron job queue, something was taking up all the queue
and that is why no further jobs could be scheduled."
Also the extract from the /var/cron/log file :) :)..
"! Ravi 11374 c Wed Dec 29 19:39:00 2004
! cannot fork Wed Dec 29 19:39:00 2004
! rescheduling a cron job Wed Dec 29 19:39:00 2004
! bad user (Ravi) Wed Dec 29 19:39:00 2004
! cannot fork Wed Dec 29 19:39:30 2004 "
I am not a bad user ;-)..
Can you now tell me that why does a fork not executed...
Assume that the cron queue is full at the time of execution of
Myscript.bat. it could be that it remains full forever(a
possibility)..u do get my point right..since the timeperiod of Myscript
is one minute everyminute one job will be appended...
Also Refering to my earlier statistics of 57 on Jan 4 etc. the time
period between one entry to another is substantial..it is between 30min
to 4 hours (though consecutive time periods are also observed but not
for too long...
>
> Chris Thompson
> Email: cet1 [at] cam.ac.uk
- Next message: all mail refused: "Re: Cron jobs not working.."
- Previous message: all mail refused: "Re: Restarting sshd without interruption"
- In reply to: Chris Thompson: "Re: Cron jobs not working.."
- Next in thread: all mail refused: "Re: Cron jobs not working.."
- Reply: all mail refused: "Re: Cron jobs not working.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|