[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#5268: cron dies nightly



> > Yup.  It has totally stopped.  I tried adding to my crontab file and none
> > of the commands got run until I stopped and restarted cron.
> 
> Check the permissions of crontab - should 4755.


callandor:~/build/coordinator> ps -ax | grep cron
 6395  ?   2.57s /usr/sbin/cron                                                 
15671  p1  0.05s grep cron                                                      
callandor:~/build/coordinator> ps -axl 6395
  FLAGS    UID   PID  PPID PRI  NI   VSZ   RSS      WCHAN STAT  TT   TIME COMMAND                                          
     140     0  6395     1   0   0   844   120 sigsuspend S     ?   2.57s /usr/sbin/cron                                    
callandor:~/build/coordinator> crontab -e
crontab: installing new crontab
callandor:~/build/coordinator> ps -axl 6395
  FLAGS    UID   PID  PPID PRI  NI   VSZ   RSS      WCHAN STAT  TT   TIME COMMAND                                          
No processes available.
callandor:~/build/coordinator> ll /etc/crontab 
-rw-r--r--   1 root     root          506 Aug 30 02:33 /etc/crontab
callandor:~/build/coordinator> ll /usr/bin/crontab
-rwsr-xr-x   1 root     root        21184 Aug 11 19:19 /usr/bin/crontab*

callandor:/var/tmp# ll /var/spool/cron/crontabs
total 4
-rw-------   1 root     verisim       596 Nov  7 09:46 bcwhite
-rw-------   1 root     root          470 Jul 20 15:21 mail
-rw-------   1 root     root          401 May  6  1996 root
-rw-------   1 root     root          242 Apr  8  1996 verisim
                                             

> Do an strace on cron while you're running crontab.  See if it reads
> the file in on the next minute.

I'll do that next time it dies.

                                          Brian
                                 ( bcwhite@verisim.com )
                                             
-------------------------------------------------------------------------------
  Want to get it together?  We can help!  http://www.verisim.com/coordinator/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: