public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] vixie-cron keeps stopping
@ 2010-04-15  0:36 Matt Harrison
  2010-04-15  8:16 ` Neil Bothwick
  0 siblings, 1 reply; 27+ messages in thread
From: Matt Harrison @ 2010-04-15  0:36 UTC (permalink / raw
  To: gentoo-user

Its been happening for a while but I haven't got round to find out why, but every so
often (anything between a week or an hour) vixie-cron just stops. There's nothing in
the logs, the service just stops.

I have no idea where to start looking for a culprit so I'm hoping someone here has
some good ideas :)

thanks in advance

Matt



^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] vixie-cron keeps stopping
@ 2010-04-15  0:58 Matt Harrison
  2010-04-15  1:58 ` Mark Knecht
  2010-04-15  8:20 ` Alan McKinnon
  0 siblings, 2 replies; 27+ messages in thread
From: Matt Harrison @ 2010-04-15  0:58 UTC (permalink / raw
  To: gentoo-user

I apologise if this has come twice, it didn't appear to post correctly first time, not
even on the archives.

Its been happening for a while but I haven't got round to find out why, but every so
often (anything between a week or an hour) vixie-cron just stops. There's nothing in
the logs, the service just stops.

I have no idea where to start looking for a culprit so I'm hoping someone here has
some good ideas :)

thanks in advance

Matt




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-15  0:58 [gentoo-user] vixie-cron keeps stopping Matt Harrison
@ 2010-04-15  1:58 ` Mark Knecht
  2010-04-15  8:20 ` Alan McKinnon
  1 sibling, 0 replies; 27+ messages in thread
From: Mark Knecht @ 2010-04-15  1:58 UTC (permalink / raw
  To: gentoo-user

On Wed, Apr 14, 2010 at 5:58 PM, Matt Harrison
<iwasinnamuknow@genestate.com> wrote:
> I apologise if this has come twice, it didn't appear to post correctly first time, not
> even on the archives.
>
> Its been happening for a while but I haven't got round to find out why, but every so
> often (anything between a week or an hour) vixie-cron just stops. There's nothing in
> the logs, the service just stops.
>
> I have no idea where to start looking for a culprit so I'm hoping someone here has
> some good ideas :)
>
> thanks in advance
>
> Matt
>
>
>

It did arrive here the first time Matt. Just responding so you know
it's getting through.

- Mark



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-15  0:36 Matt Harrison
@ 2010-04-15  8:16 ` Neil Bothwick
  0 siblings, 0 replies; 27+ messages in thread
From: Neil Bothwick @ 2010-04-15  8:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

On Thu, 15 Apr 2010 01:36:38 +0100, Matt Harrison wrote:

> Its been happening for a while but I haven't got round to find out why,
> but every so often (anything between a week or an hour) vixie-cron just
> stops. There's nothing in the logs, the service just stops.

Try running it from a terminal with the -n option, you may see some
output when it exits.


-- 
Neil Bothwick

The facts, although interesting, are usually irrelevant.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-15  0:58 [gentoo-user] vixie-cron keeps stopping Matt Harrison
  2010-04-15  1:58 ` Mark Knecht
@ 2010-04-15  8:20 ` Alan McKinnon
  2010-04-16  1:27   ` Matt Harrison
                     ` (3 more replies)
  1 sibling, 4 replies; 27+ messages in thread
From: Alan McKinnon @ 2010-04-15  8:20 UTC (permalink / raw
  To: gentoo-user

On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> I apologise if this has come twice, it didn't appear to post correctly
> first time, not even on the archives.
> 
> Its been happening for a while but I haven't got round to find out why, but
> every so often (anything between a week or an hour) vixie-cron just stops.
> There's nothing in the logs, the service just stops.
> 
> I have no idea where to start looking for a culprit so I'm hoping someone
> here has some good ideas :)
> 
> thanks in advance
> 
> Matt

You probably don't want to hear this, but:

vixie-cron is problematic in the extreme. I have endless hassle with it's 
weird behaviours.

Use a different cron daemon.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-15  8:20 ` Alan McKinnon
@ 2010-04-16  1:27   ` Matt Harrison
  2010-04-16 17:58   ` [gentoo-user] " Francesco Talamona
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 27+ messages in thread
From: Matt Harrison @ 2010-04-16  1:27 UTC (permalink / raw
  To: gentoo-user

On 15/04/2010 09:20, Alan McKinnon wrote:
> You probably don't want to hear this, but:
> 
> vixie-cron is problematic in the extreme. I have endless hassle with it's 
> weird behaviours.
> 
> Use a different cron daemon.
> 

I don't mind hearing this :) I only use vixie-cron as that is what I
started with (I think from the old install documents), I'm not tied to
it at all. I has worked perfectly on several installs until this problem
appeared.

I've switched to fcron on that machine and it seems to be ok so far,
only time will tell. From now on I'll use fcron by default to avoid this
problem happening again.

Thanks



^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-15  8:20 ` Alan McKinnon
  2010-04-16  1:27   ` Matt Harrison
@ 2010-04-16 17:58   ` Francesco Talamona
  2010-04-16 18:09     ` Stroller
  2010-04-16 21:33     ` Alan McKinnon
  2010-04-16 18:22   ` [gentoo-user] " kashani
  2010-04-16 18:29   ` Dale
  3 siblings, 2 replies; 27+ messages in thread
From: Francesco Talamona @ 2010-04-16 17:58 UTC (permalink / raw
  To: gentoo-user

On Thursday 15 April 2010, Alan McKinnon wrote:
> On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> > I apologise if this has come twice, it didn't appear to post
> > correctly first time, not even on the archives.
> > 
> > Its been happening for a while but I haven't got round to find out
> > why, but every so often (anything between a week or an hour)
> > vixie-cron just stops. There's nothing in the logs, the service
> > just stops.
> > 
> > I have no idea where to start looking for a culprit so I'm hoping
> > someone here has some good ideas :)
> > 
> > thanks in advance
> > 
> > Matt
> 
> You probably don't want to hear this, but:
> 
> vixie-cron is problematic in the extreme. I have endless hassle with
> it's weird behaviours.
> 
> Use a different cron daemon.

Your advice is vague :)

I use app-admin/syslog-ng and I wouldn't change, Alan you too can try 
it.

Ciao
  Francesco

-- 
Linux Version 2.6.33-gentoo-r1, Compiled #1 SMP PREEMPT Sat Apr 10 
17:35:50 CEST 2010
Two 2.9GHz AMD Athlon 64 Processors, 4GB RAM, 11659 Bogomips Total
aemaeth



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-16 17:58   ` [gentoo-user] " Francesco Talamona
@ 2010-04-16 18:09     ` Stroller
  2010-04-16 21:33     ` Alan McKinnon
  1 sibling, 0 replies; 27+ messages in thread
From: Stroller @ 2010-04-16 18:09 UTC (permalink / raw
  To: gentoo-user


On 16 Apr 2010, at 18:58, Francesco Talamona wrote:
> On Thursday 15 April 2010, Alan McKinnon wrote:
>> ...
>> You probably don't want to hear this, but:
>>
>> vixie-cron is problematic in the extreme. I have endless hassle with
>> it's weird behaviours.
>>
>> Use a different cron daemon.
>
> Your advice is vague :)
>
> I use app-admin/syslog-ng and I wouldn't change, Alan you too can try
> it.

syslog-ng is a system logger, not a cron daemon.

I appreciate this is an easy mistake to make, as they are adjacent in  
the Gentoo installation instructions, and we generally ignore both  
components when they are working normally.

Stroller.




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-15  8:20 ` Alan McKinnon
  2010-04-16  1:27   ` Matt Harrison
  2010-04-16 17:58   ` [gentoo-user] " Francesco Talamona
@ 2010-04-16 18:22   ` kashani
  2010-04-16 18:58     ` Mick
  2010-04-16 18:29   ` Dale
  3 siblings, 1 reply; 27+ messages in thread
From: kashani @ 2010-04-16 18:22 UTC (permalink / raw
  To: gentoo-user

On 4/15/2010 1:20 AM, Alan McKinnon wrote:
> On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
>> I apologise if this has come twice, it didn't appear to post correctly
>> first time, not even on the archives.
>>
>> Its been happening for a while but I haven't got round to find out why, but
>> every so often (anything between a week or an hour) vixie-cron just stops.
>> There's nothing in the logs, the service just stops.
>>
>> I have no idea where to start looking for a culprit so I'm hoping someone
>> here has some good ideas :)
>>
>> thanks in advance
>>
>> Matt
>
> You probably don't want to hear this, but:
>
> vixie-cron is problematic in the extreme. I have endless hassle with it's
> weird behaviours.
>
> Use a different cron daemon.
>

Strange. I've never had a problem with it and Gentoo though I use Gentoo 
primarily as a server.

kashani



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-15  8:20 ` Alan McKinnon
                     ` (2 preceding siblings ...)
  2010-04-16 18:22   ` [gentoo-user] " kashani
@ 2010-04-16 18:29   ` Dale
  2010-04-16 21:25     ` Alan McKinnon
  3 siblings, 1 reply; 27+ messages in thread
From: Dale @ 2010-04-16 18:29 UTC (permalink / raw
  To: gentoo-user

Alan McKinnon wrote:
> On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
>    
>> I apologise if this has come twice, it didn't appear to post correctly
>> first time, not even on the archives.
>>
>> Its been happening for a while but I haven't got round to find out why, but
>> every so often (anything between a week or an hour) vixie-cron just stops.
>> There's nothing in the logs, the service just stops.
>>
>> I have no idea where to start looking for a culprit so I'm hoping someone
>> here has some good ideas :)
>>
>> thanks in advance
>>
>> Matt
>>      
> You probably don't want to hear this, but:
>
> vixie-cron is problematic in the extreme. I have endless hassle with it's
> weird behaviours.
>
> Use a different cron daemon.
>
>    

I am using vixie as well.  It was in the install guide many years ago.  
What all would have to be changed to switch to fcron?  I think some 
packages "detect" which cron you have installed and put things in the 
proper place for cron jobs to run.  I could be wrong on that since it 
has been a while since I noticed packages doing this.

Dale

:-)   :-)



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-16 18:22   ` [gentoo-user] " kashani
@ 2010-04-16 18:58     ` Mick
  0 siblings, 0 replies; 27+ messages in thread
From: Mick @ 2010-04-16 18:58 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1406 bytes --]

On Friday 16 April 2010 19:22:42 kashani wrote:
> On 4/15/2010 1:20 AM, Alan McKinnon wrote:
> > On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> >> I apologise if this has come twice, it didn't appear to post correctly
> >> first time, not even on the archives.
> >>
> >> Its been happening for a while but I haven't got round to find out why,
> >> but every so often (anything between a week or an hour) vixie-cron just
> >> stops. There's nothing in the logs, the service just stops.
> >>
> >> I have no idea where to start looking for a culprit so I'm hoping
> >> someone here has some good ideas :)
> >>
> >> thanks in advance
> >>
> >> Matt
> >
> > You probably don't want to hear this, but:
> >
> > vixie-cron is problematic in the extreme. I have endless hassle with it's
> > weird behaviours.
> >
> > Use a different cron daemon.
> 
> Strange. I've never had a problem with it and Gentoo though I use Gentoo
> primarily as a server.
> 
> kashani

+1

I have been running Vixie's cron for a good few years on 4 different machines 
(3 different arches) and have not noticed any problems.  On the other hand I 
am only running some basic cron jobs (e.g. , updatedb, mrtg).

Have you looked at /root/dead.letter in case there is a problem that is 
captured there (although I would expect to see something in the logs to be 
honest)?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-16 18:29   ` Dale
@ 2010-04-16 21:25     ` Alan McKinnon
  2010-04-17  8:47       ` Mick
  0 siblings, 1 reply; 27+ messages in thread
From: Alan McKinnon @ 2010-04-16 21:25 UTC (permalink / raw
  To: gentoo-user; +Cc: Dale

On Friday 16 April 2010 20:29:27 Dale wrote:
> Alan McKinnon wrote:
> > On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> >> I apologise if this has come twice, it didn't appear to post correctly
> >> first time, not even on the archives.
> >> 
> >> Its been happening for a while but I haven't got round to find out why,
> >> but every so often (anything between a week or an hour) vixie-cron just
> >> stops. There's nothing in the logs, the service just stops.
> >> 
> >> I have no idea where to start looking for a culprit so I'm hoping
> >> someone here has some good ideas :)
> >> 
> >> thanks in advance
> >> 
> >> Matt
> > 
> > You probably don't want to hear this, but:
> > 
> > vixie-cron is problematic in the extreme. I have endless hassle with it's
> > weird behaviours.
> > 
> > Use a different cron daemon.
> 
> I am using vixie as well.  It was in the install guide many years ago.
> What all would have to be changed to switch to fcron?  I think some
> packages "detect" which cron you have installed and put things in the
> proper place for cron jobs to run.  I could be wrong on that since it
> has been a while since I noticed packages doing this.


emerge -C vixie-cron && emerge <other cron of your choice>

You might have to tweak crontabs.

I have come to detest with a passion every piece of software written or 
inspired by Paul Vixie. It took 10-15 years to get bind into a shape where it 
takes less than 20 minutes to start here, it's low, buggy and performance is 
pathetic. dhcp is just way too complex for my liking, ...

... and as for vixie-cron: When software doesn't act like it's supposed to, 
breaks in horrible ways without giving me any clue (like, "cron restart" works 
with no known init scripts on any platform I have) and instead says "cron 
restarted [OK]", which brings down 5000 Cisco devices as as a nasty side 
effect, and causes a Severity 0 committee to be called, twice, then that 
software's remaining life span on my boxes is measured in milliseconds :-)

rant over

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-16 17:58   ` [gentoo-user] " Francesco Talamona
  2010-04-16 18:09     ` Stroller
@ 2010-04-16 21:33     ` Alan McKinnon
  1 sibling, 0 replies; 27+ messages in thread
From: Alan McKinnon @ 2010-04-16 21:33 UTC (permalink / raw
  To: gentoo-user; +Cc: Francesco Talamona

On Friday 16 April 2010 19:58:23 Francesco Talamona wrote:
> On Thursday 15 April 2010, Alan McKinnon wrote:
> > On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> > > I apologise if this has come twice, it didn't appear to post
> > > correctly first time, not even on the archives.
> > > 
> > > Its been happening for a while but I haven't got round to find out
> > > why, but every so often (anything between a week or an hour)
> > > vixie-cron just stops. There's nothing in the logs, the service
> > > just stops.
> > > 
> > > I have no idea where to start looking for a culprit so I'm hoping
> > > someone here has some good ideas :)
> > > 
> > > thanks in advance
> > > 
> > > Matt
> > 
> > You probably don't want to hear this, but:
> > 
> > vixie-cron is problematic in the extreme. I have endless hassle with
> > it's weird behaviours.
> > 
> > Use a different cron daemon.
> 
> Your advice is vague :)

To answer this point:

vixie-cron does not reliably restart. You have to remember to kill it, verify 
that it is indeed dead, then start it.

Of course, my use case is a lot more complex than just /etc/cron.*/* and yes, 
I do expect a cron daemon to cope with my needs in it's stride. It's not hard 
to cope with a 1000 line crontab. I have auth daemons running on ancient 
hardware with 256M RAM that have to deal with 100+ auth requests a second and 
a 5000-line config file. Despite my needs being complex, any cron daemon 
should cope with that without breaking a sweat

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-16 21:25     ` Alan McKinnon
@ 2010-04-17  8:47       ` Mick
  2010-04-17 10:25         ` Alan McKinnon
  2010-04-17 12:59         ` [gentoo-user] " Lie Ryan
  0 siblings, 2 replies; 27+ messages in thread
From: Mick @ 2010-04-17  8:47 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2340 bytes --]

On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
> On Friday 16 April 2010 20:29:27 Dale wrote:
> > Alan McKinnon wrote:
> > > On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> > >> I apologise if this has come twice, it didn't appear to post correctly
> > >> first time, not even on the archives.
> > >>
> > >> Its been happening for a while but I haven't got round to find out
> > >> why, but every so often (anything between a week or an hour)
> > >> vixie-cron just stops. There's nothing in the logs, the service just
> > >> stops.
> > >>
> > >> I have no idea where to start looking for a culprit so I'm hoping
> > >> someone here has some good ideas :)
> > >>
> > >> thanks in advance
> > >>
> > >> Matt
> > >
> > > You probably don't want to hear this, but:
> > >
> > > vixie-cron is problematic in the extreme. I have endless hassle with
> > > it's weird behaviours.
> > >
> > > Use a different cron daemon.
> >
> > I am using vixie as well.  It was in the install guide many years ago.
> > What all would have to be changed to switch to fcron?  I think some
> > packages "detect" which cron you have installed and put things in the
> > proper place for cron jobs to run.  I could be wrong on that since it
> > has been a while since I noticed packages doing this.
> 
> emerge -C vixie-cron && emerge <other cron of your choice>
> 
> You might have to tweak crontabs.
> 
> I have come to detest with a passion every piece of software written or
> inspired by Paul Vixie. It took 10-15 years to get bind into a shape where
>  it takes less than 20 minutes to start here, it's low, buggy and
>  performance is pathetic. dhcp is just way too complex for my liking, ...
> 
> ... and as for vixie-cron: When software doesn't act like it's supposed to,
> breaks in horrible ways without giving me any clue (like, "cron restart"
>  works with no known init scripts on any platform I have) and instead says
>  "cron restarted [OK]", which brings down 5000 Cisco devices as as a nasty
>  side effect, and causes a Severity 0 committee to be called, twice, then
>  that software's remaining life span on my boxes is measured in
>  milliseconds :-)
> 
> rant over

Blimey!  That sounds like horribly_broken!

Which cron do you recommend for a desktop?

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
       [not found]     ` <eAc2C-7md-11@gated-at.bofh.it>
@ 2010-04-17  9:56       ` David W Noon
  0 siblings, 0 replies; 27+ messages in thread
From: David W Noon @ 2010-04-17  9:56 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1397 bytes --]

On Sat, 17 Apr 2010 11:00:02 +0200, Mick wrote about Re: [gentoo-user]
vixie-cron keeps stopping:

>On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
[snip]
>> ... and as for vixie-cron: When software doesn't act like it's
>> supposed to, breaks in horrible ways without giving me any clue
>> (like, "cron restart" works with no known init scripts on any
>> platform I have) and instead says "cron restarted [OK]", which
>> brings down 5000 Cisco devices as as a nasty side effect, and causes
>> a Severity 0 committee to be called, twice, then that software's
>> remaining life span on my boxes is measured in milliseconds :-)
>> 
>> rant over
>
>Blimey!  That sounds like horribly_broken!
>
>Which cron do you recommend for a desktop?

I switched from vixie-cron to fcron within a couple of days of first
installing Gentoo.  The Gentoo handbook suggested vixie-cron, but it
proved to be a bucket of bolts.  The version of fcron then available had
problems in those days (late 2003) with daylight saving switch-overs,
but these have long been fixed.

Consequently, I recommend fcron to anybody dumb enough to take my word
for such things. ... :-)
-- 
Regards,

Dave  [RLU #314465]
======================================================================
dwnoon@ntlworld.com (David W Noon)
======================================================================

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] vixie-cron keeps stopping
  2010-04-17  8:47       ` Mick
@ 2010-04-17 10:25         ` Alan McKinnon
  2010-04-17 12:59         ` [gentoo-user] " Lie Ryan
  1 sibling, 0 replies; 27+ messages in thread
From: Alan McKinnon @ 2010-04-17 10:25 UTC (permalink / raw
  To: gentoo-user; +Cc: Mick

On Saturday 17 April 2010 10:47:15 Mick wrote:
> On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
> > On Friday 16 April 2010 20:29:27 Dale wrote:
> > > Alan McKinnon wrote:
> > > > On Thursday 15 April 2010 02:58:15 Matt Harrison wrote:
> > > >> I apologise if this has come twice, it didn't appear to post
> > > >> correctly first time, not even on the archives.
> > > >> 
> > > >> Its been happening for a while but I haven't got round to find out
> > > >> why, but every so often (anything between a week or an hour)
> > > >> vixie-cron just stops. There's nothing in the logs, the service just
> > > >> stops.
> > > >> 
> > > >> I have no idea where to start looking for a culprit so I'm hoping
> > > >> someone here has some good ideas :)
> > > >> 
> > > >> thanks in advance
> > > >> 
> > > >> Matt
> > > > 
> > > > You probably don't want to hear this, but:
> > > > 
> > > > vixie-cron is problematic in the extreme. I have endless hassle with
> > > > it's weird behaviours.
> > > > 
> > > > Use a different cron daemon.
> > > 
> > > I am using vixie as well.  It was in the install guide many years ago.
> > > What all would have to be changed to switch to fcron?  I think some
> > > packages "detect" which cron you have installed and put things in the
> > > proper place for cron jobs to run.  I could be wrong on that since it
> > > has been a while since I noticed packages doing this.
> > 
> > emerge -C vixie-cron && emerge <other cron of your choice>
> > 
> > You might have to tweak crontabs.
> > 
> > I have come to detest with a passion every piece of software written or
> > inspired by Paul Vixie. It took 10-15 years to get bind into a shape
> > where
> > 
> >  it takes less than 20 minutes to start here, it's low, buggy and
> >  performance is pathetic. dhcp is just way too complex for my liking, ...
> > 
> > ... and as for vixie-cron: When software doesn't act like it's supposed
> > to, breaks in horrible ways without giving me any clue (like, "cron
> > restart"
> > 
> >  works with no known init scripts on any platform I have) and instead
> >  says "cron restarted [OK]", which brings down 5000 Cisco devices as as
> >  a nasty side effect, and causes a Severity 0 committee to be called,
> >  twice, then that software's remaining life span on my boxes is measured
> >  in
> >  milliseconds :-)
> > 
> > rant over
> 
> Blimey!  That sounds like horribly_broken!
> 
> Which cron do you recommend for a desktop?

Strangely enough, I'd tell folk to use vixie-cron if it's already working for 
them and they know it. I don't see the point in advising someone to switch a 
package that is working well for them and doing it's job.

Most folk let cron be installed then they never touch it again, or add at most 
a few entries. Everything they need or want to be done is covered with the 
default /etc/cron.*/*. Why change it? Besides, they know how to work vixie-
cron.

But if they are run into problems or weird errors (like the OP where the thing 
just dies), then fcron is good.


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17  8:47       ` Mick
  2010-04-17 10:25         ` Alan McKinnon
@ 2010-04-17 12:59         ` Lie Ryan
  2010-04-17 13:08           ` Alan McKinnon
  2010-04-17 13:13           ` David Relson
  1 sibling, 2 replies; 27+ messages in thread
From: Lie Ryan @ 2010-04-17 12:59 UTC (permalink / raw
  To: gentoo-user

On 04/17/10 18:47, Mick wrote:
> On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
>> On Friday 16 April 2010 20:29:27 Dale wrote:
> 
> Blimey!  That sounds like horribly_broken!
> 
> Which cron do you recommend for a desktop?


One question, do you actually need cron for desktop? I installed vixie
because the installation manual says to, but never need to write any
cron rule for anything and I don't think there any program I uses
installs a cron rule. So why bother with cron?




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 12:59         ` [gentoo-user] " Lie Ryan
@ 2010-04-17 13:08           ` Alan McKinnon
  2010-04-17 14:19             ` Lie Ryan
  2010-04-17 15:10             ` Mick
  2010-04-17 13:13           ` David Relson
  1 sibling, 2 replies; 27+ messages in thread
From: Alan McKinnon @ 2010-04-17 13:08 UTC (permalink / raw
  To: gentoo-user; +Cc: Lie Ryan

On Saturday 17 April 2010 14:59:09 Lie Ryan wrote:
> On 04/17/10 18:47, Mick wrote:
> > On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
> >> On Friday 16 April 2010 20:29:27 Dale wrote:
> > Blimey!  That sounds like horribly_broken!
> > 
> > Which cron do you recommend for a desktop?
> 
> One question, do you actually need cron for desktop? I installed vixie
> because the installation manual says to, but never need to write any
> cron rule for anything and I don't think there any program I uses
> installs a cron rule. So why bother with cron?

A default install will configure cron to run

mkwhatis
slocate
logrotate
updatepciids
updateusbids

These are all very useful and your machine is somewhat crippled without them.

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 12:59         ` [gentoo-user] " Lie Ryan
  2010-04-17 13:08           ` Alan McKinnon
@ 2010-04-17 13:13           ` David Relson
  1 sibling, 0 replies; 27+ messages in thread
From: David Relson @ 2010-04-17 13:13 UTC (permalink / raw
  To: gentoo-user

On Sat, 17 Apr 2010 22:59:09 +1000
Lie Ryan wrote:

> On 04/17/10 18:47, Mick wrote:
> > On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
> >> On Friday 16 April 2010 20:29:27 Dale wrote:
> > 
> > Blimey!  That sounds like horribly_broken!
> > 
> > Which cron do you recommend for a desktop?
> 
> 
> One question, do you actually need cron for desktop? I installed vixie
> because the installation manual says to, but never need to write any
> cron rule for anything and I don't think there any program I uses
> installs a cron rule. So why bother with cron?

Possibly not.  ... depends on what you have installed.  /etc/cron.daily
has some useful stuff, notably slocate.cron.



^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 13:08           ` Alan McKinnon
@ 2010-04-17 14:19             ` Lie Ryan
  2010-04-17 15:10             ` Mick
  1 sibling, 0 replies; 27+ messages in thread
From: Lie Ryan @ 2010-04-17 14:19 UTC (permalink / raw
  To: gentoo-user

On 04/17/10 23:08, Alan McKinnon wrote:
> On Saturday 17 April 2010 14:59:09 Lie Ryan wrote:
>> On 04/17/10 18:47, Mick wrote:
>>> On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
>>>> On Friday 16 April 2010 20:29:27 Dale wrote:
>>> Blimey!  That sounds like horribly_broken!
>>>
>>> Which cron do you recommend for a desktop?
>>
>> One question, do you actually need cron for desktop? I installed vixie
>> because the installation manual says to, but never need to write any
>> cron rule for anything and I don't think there any program I uses
>> installs a cron rule. So why bother with cron?
> 
> A default install will configure cron to run
> 
> mkwhatis
> slocate
> logrotate
> updatepciids
> updateusbids

I don't install `locate` as I don't have that many files to start with
and `find` is more than adequate for when I need to search (and I
typically only do searches on newly downloaded file or system files,
those that aren't indexed in locate's database in the first place). In a
typical desktop system you only rarely actually read logs (typically
only when debugging kernel, X, and failed emerge; you don't meet kernel
OOPS every day, don't you?), for the rest of the times I could probably
live without logging and I can turn it on when I need to examine some
logs. A typical desktop system do not update their hardware everyday and
running those updater programs manually isn't such a pain when you do
(on the other hand I run `emerge --sync` and `q -r` every week, but then
I still much prefer running emerges manually). And bash's tab completion
is much more efficient for searching commands than `whatis`.

So I don't think a typical desktop system gets crippled much without
cron (or even logging). Yes, you lose some features, and you will need
to manually update system's database and do certain things manually
which otherwise would have been handled for you; but if I have to choose
between wasting system resources running cron/logging or losing features
I use once in a month, I probably would not bother with cron.




^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 13:08           ` Alan McKinnon
  2010-04-17 14:19             ` Lie Ryan
@ 2010-04-17 15:10             ` Mick
  2010-04-17 15:39               ` Alan McKinnon
  1 sibling, 1 reply; 27+ messages in thread
From: Mick @ 2010-04-17 15:10 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1521 bytes --]

On Saturday 17 April 2010 14:08:22 Alan McKinnon wrote:
> On Saturday 17 April 2010 14:59:09 Lie Ryan wrote:
> > On 04/17/10 18:47, Mick wrote:
> > > On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
> > >> On Friday 16 April 2010 20:29:27 Dale wrote:
> > >
> > > Blimey!  That sounds like horribly_broken!
> > >
> > > Which cron do you recommend for a desktop?
> >
> > One question, do you actually need cron for desktop? I installed vixie
> > because the installation manual says to, but never need to write any
> > cron rule for anything and I don't think there any program I uses
> > installs a cron rule. So why bother with cron?
> 
> A default install will configure cron to run
> 
> mkwhatis
> slocate
> logrotate
> updatepciids
> updateusbids
> 
> These are all very useful and your machine is somewhat crippled without
>  them.
> 
Hmm... mine has:

 ls -la /etc/cron.daily/
total 10
drwxr-x---  2 root root   7 Mar 14 19:11 .
drwxr-xr-x 74 root root 160 Apr 17 14:58 ..
-rw-r--r--  1 root root   0 Jan 21 01:33 .keep
-rw-r--r--  1 root root   0 Feb 28 15:13 .keep_sys-process_cronbase-0
-rwxr-xr-x  1 root root  52 Feb 28 15:15 logrotate.cron
-rwxr-xr-x  1 root root 115 Mar 14 19:11 makewhatis
-rwxr-xr-x  1 root root 152 Feb 28 15:15 slocate

but not updatepciids and updateusbids.  Grant you I don't need them daily, but 
last time I checked I had to update these myself.  Should they have been added 
automatically in my /etc/cron.daily/*  ?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 15:10             ` Mick
@ 2010-04-17 15:39               ` Alan McKinnon
  2010-04-17 18:12                 ` Mick
  0 siblings, 1 reply; 27+ messages in thread
From: Alan McKinnon @ 2010-04-17 15:39 UTC (permalink / raw
  To: gentoo-user; +Cc: Mick

On Saturday 17 April 2010 17:10:14 Mick wrote:
> On Saturday 17 April 2010 14:08:22 Alan McKinnon wrote:
> > On Saturday 17 April 2010 14:59:09 Lie Ryan wrote:
> > > On 04/17/10 18:47, Mick wrote:
> > > > On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
> > > >> On Friday 16 April 2010 20:29:27 Dale wrote:
> > > > Blimey!  That sounds like horribly_broken!
> > > > 
> > > > Which cron do you recommend for a desktop?
> > > 
> > > One question, do you actually need cron for desktop? I installed vixie
> > > because the installation manual says to, but never need to write any
> > > cron rule for anything and I don't think there any program I uses
> > > installs a cron rule. So why bother with cron?
> > 
> > A default install will configure cron to run
> > 
> > mkwhatis
> > slocate
> > logrotate
> > updatepciids
> > updateusbids
> > 
> > These are all very useful and your machine is somewhat crippled without
> > 
> >  them.
> 
> Hmm... mine has:
> 
>  ls -la /etc/cron.daily/
> total 10
> drwxr-x---  2 root root   7 Mar 14 19:11 .
> drwxr-xr-x 74 root root 160 Apr 17 14:58 ..
> -rw-r--r--  1 root root   0 Jan 21 01:33 .keep
> -rw-r--r--  1 root root   0 Feb 28 15:13 .keep_sys-process_cronbase-0
> -rwxr-xr-x  1 root root  52 Feb 28 15:15 logrotate.cron
> -rwxr-xr-x  1 root root 115 Mar 14 19:11 makewhatis
> -rwxr-xr-x  1 root root 152 Feb 28 15:15 slocate
> 
> but not updatepciids and updateusbids.  Grant you I don't need them daily,
> but last time I checked I had to update these myself.  Should they have
> been added automatically in my /etc/cron.daily/*  ?

They go in cron.monthly, but no matter.

Do you have these packages installed:

nazgul ~ # equery belongs /etc/cron.monthly/update-pciids
 * Searching for /etc/cron.monthly/update-pciids ... 
sys-apps/pciutils-3.1.7 (/etc/cron.monthly/update-pciids)
nazgul ~ # equery belongs /etc/cron.monthly/update-usbids 
 * Searching for /etc/cron.monthly/update-usbids ... 
sys-apps/usbutils-0.87 (/etc/cron.monthly/update-usbids)


-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 15:39               ` Alan McKinnon
@ 2010-04-17 18:12                 ` Mick
  2010-04-17 19:52                   ` walt
  2010-04-17 20:55                   ` Alan McKinnon
  0 siblings, 2 replies; 27+ messages in thread
From: Mick @ 2010-04-17 18:12 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 2401 bytes --]

On Saturday 17 April 2010 16:39:19 Alan McKinnon wrote:
> On Saturday 17 April 2010 17:10:14 Mick wrote:
> > On Saturday 17 April 2010 14:08:22 Alan McKinnon wrote:
> > > On Saturday 17 April 2010 14:59:09 Lie Ryan wrote:
> > > > On 04/17/10 18:47, Mick wrote:
> > > > > On Friday 16 April 2010 22:25:47 Alan McKinnon wrote:
> > > > >> On Friday 16 April 2010 20:29:27 Dale wrote:
> > > > >
> > > > > Blimey!  That sounds like horribly_broken!
> > > > >
> > > > > Which cron do you recommend for a desktop?
> > > >
> > > > One question, do you actually need cron for desktop? I installed
> > > > vixie because the installation manual says to, but never need to
> > > > write any cron rule for anything and I don't think there any program
> > > > I uses installs a cron rule. So why bother with cron?
> > >
> > > A default install will configure cron to run
> > >
> > > mkwhatis
> > > slocate
> > > logrotate
> > > updatepciids
> > > updateusbids
> > >
> > > These are all very useful and your machine is somewhat crippled without
> > >
> > >  them.
> >
> > Hmm... mine has:
> >
> >  ls -la /etc/cron.daily/
> > total 10
> > drwxr-x---  2 root root   7 Mar 14 19:11 .
> > drwxr-xr-x 74 root root 160 Apr 17 14:58 ..
> > -rw-r--r--  1 root root   0 Jan 21 01:33 .keep
> > -rw-r--r--  1 root root   0 Feb 28 15:13 .keep_sys-process_cronbase-0
> > -rwxr-xr-x  1 root root  52 Feb 28 15:15 logrotate.cron
> > -rwxr-xr-x  1 root root 115 Mar 14 19:11 makewhatis
> > -rwxr-xr-x  1 root root 152 Feb 28 15:15 slocate
> >
> > but not updatepciids and updateusbids.  Grant you I don't need them
> > daily, but last time I checked I had to update these myself.  Should they
> > have been added automatically in my /etc/cron.daily/*  ?
> 
> They go in cron.monthly, but no matter.
> 
> Do you have these packages installed:
> 
> nazgul ~ # equery belongs /etc/cron.monthly/update-pciids
>  * Searching for /etc/cron.monthly/update-pciids ...
> sys-apps/pciutils-3.1.7 (/etc/cron.monthly/update-pciids)
> nazgul ~ # equery belongs /etc/cron.monthly/update-usbids
>  * Searching for /etc/cron.monthly/update-usbids ...
> sys-apps/usbutils-0.87 (/etc/cron.monthly/update-usbids)

Hmm ...  Nill returns.  :-(

I have however already installed both pciutils and usbutils.

Are they meant to make entries in cron.daily when installed?

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 18:12                 ` Mick
@ 2010-04-17 19:52                   ` walt
  2010-04-17 20:55                   ` Alan McKinnon
  1 sibling, 0 replies; 27+ messages in thread
From: walt @ 2010-04-17 19:52 UTC (permalink / raw
  To: gentoo-user

On 04/17/2010 11:12 AM, Mick wrote:

>
> I have however already installed both pciutils and usbutils.
>
> Are they meant to make entries in cron.daily when installed?

I just discovered the network-cron useflag, thanks :)





^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 18:12                 ` Mick
  2010-04-17 19:52                   ` walt
@ 2010-04-17 20:55                   ` Alan McKinnon
  2010-04-17 22:01                     ` Mick
  1 sibling, 1 reply; 27+ messages in thread
From: Alan McKinnon @ 2010-04-17 20:55 UTC (permalink / raw
  To: gentoo-user; +Cc: Mick

On Saturday 17 April 2010 20:12:42 Mick wrote:
> > Do you have these packages installed:
> > 
> >
> > nazgul ~ # equery belongs /etc/cron.monthly/update-pciids
> >
> >  * Searching for /etc/cron.monthly/update-pciids ...
> >
> > sys-apps/pciutils-3.1.7 (/etc/cron.monthly/update-pciids)
> > nazgul ~ # equery belongs /etc/cron.monthly/update-usbids
> >
> >  * Searching for /etc/cron.monthly/update-usbids ...
> >
> > sys-apps/usbutils-0.87 (/etc/cron.monthly/update-usbids)
> 
> Hmm ...  Nill returns.  :-(
> 
> I have however already installed both pciutils and usbutils.
> 
> Are they meant to make entries in cron.daily when installed?

Not at all.

They are meant to install crontabs in cron.monthly

-- 
alan dot mckinnon at gmail dot com



^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 20:55                   ` Alan McKinnon
@ 2010-04-17 22:01                     ` Mick
  2010-04-17 22:05                       ` Mick
  0 siblings, 1 reply; 27+ messages in thread
From: Mick @ 2010-04-17 22:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1149 bytes --]

On Saturday 17 April 2010 21:55:52 Alan McKinnon wrote:
> On Saturday 17 April 2010 20:12:42 Mick wrote:
> > > Do you have these packages installed:
> > >
> > >
> > > nazgul ~ # equery belongs /etc/cron.monthly/update-pciids
> > >
> > >  * Searching for /etc/cron.monthly/update-pciids ...
> > >
> > > sys-apps/pciutils-3.1.7 (/etc/cron.monthly/update-pciids)
> > > nazgul ~ # equery belongs /etc/cron.monthly/update-usbids
> > >
> > >  * Searching for /etc/cron.monthly/update-usbids ...
> > >
> > > sys-apps/usbutils-0.87 (/etc/cron.monthly/update-usbids)
> >
> > Hmm ...  Nill returns.  :-(
> >
> > I have however already installed both pciutils and usbutils.
> >
> > Are they meant to make entries in cron.daily when installed?
> 
> Not at all.
> 
> They are meant to install crontabs in cron.monthly

No luck there either:

 
# ls -la /etc/cron.monthly/
total 9
drwxr-x---  2 root root   4 Feb 28 15:13 .
drwxr-xr-x 74 root root 160 Apr 17 22:58 ..
-rw-r--r--  1 root root   0 Jan 21 01:33 .keep
-rw-r--r--  1 root root   0 Feb 28 15:13 .keep_sys-process_cronbase-0

What's gone wrong?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Re: [gentoo-user] Re: vixie-cron keeps stopping
  2010-04-17 22:01                     ` Mick
@ 2010-04-17 22:05                       ` Mick
  0 siblings, 0 replies; 27+ messages in thread
From: Mick @ 2010-04-17 22:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1343 bytes --]

On Saturday 17 April 2010 23:01:19 you wrote:
> On Saturday 17 April 2010 21:55:52 Alan McKinnon wrote:
> > On Saturday 17 April 2010 20:12:42 Mick wrote:
> > > > Do you have these packages installed:
> > > >
> > > >
> > > > nazgul ~ # equery belongs /etc/cron.monthly/update-pciids
> > > >
> > > >  * Searching for /etc/cron.monthly/update-pciids ...
> > > >
> > > > sys-apps/pciutils-3.1.7 (/etc/cron.monthly/update-pciids)
> > > > nazgul ~ # equery belongs /etc/cron.monthly/update-usbids
> > > >
> > > >  * Searching for /etc/cron.monthly/update-usbids ...
> > > >
> > > > sys-apps/usbutils-0.87 (/etc/cron.monthly/update-usbids)
> > >
> > > Hmm ...  Nill returns.  :-(
> > >
> > > I have however already installed both pciutils and usbutils.
> > >
> > > Are they meant to make entries in cron.daily when installed?
> >
> > Not at all.
> >
> > They are meant to install crontabs in cron.monthly
> 
> No luck there either:
> 
> 
> # ls -la /etc/cron.monthly/
> total 9
> drwxr-x---  2 root root   4 Feb 28 15:13 .
> drwxr-xr-x 74 root root 160 Apr 17 22:58 ..
> -rw-r--r--  1 root root   0 Jan 21 01:33 .keep
> -rw-r--r--  1 root root   0 Feb 28 15:13 .keep_sys-process_cronbase-0
> 
> What's gone wrong?

Doh! Just saw Walter's post - better set up network-cron flag then.  :-)
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2010-04-17 22:05 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15  0:58 [gentoo-user] vixie-cron keeps stopping Matt Harrison
2010-04-15  1:58 ` Mark Knecht
2010-04-15  8:20 ` Alan McKinnon
2010-04-16  1:27   ` Matt Harrison
2010-04-16 17:58   ` [gentoo-user] " Francesco Talamona
2010-04-16 18:09     ` Stroller
2010-04-16 21:33     ` Alan McKinnon
2010-04-16 18:22   ` [gentoo-user] " kashani
2010-04-16 18:58     ` Mick
2010-04-16 18:29   ` Dale
2010-04-16 21:25     ` Alan McKinnon
2010-04-17  8:47       ` Mick
2010-04-17 10:25         ` Alan McKinnon
2010-04-17 12:59         ` [gentoo-user] " Lie Ryan
2010-04-17 13:08           ` Alan McKinnon
2010-04-17 14:19             ` Lie Ryan
2010-04-17 15:10             ` Mick
2010-04-17 15:39               ` Alan McKinnon
2010-04-17 18:12                 ` Mick
2010-04-17 19:52                   ` walt
2010-04-17 20:55                   ` Alan McKinnon
2010-04-17 22:01                     ` Mick
2010-04-17 22:05                       ` Mick
2010-04-17 13:13           ` David Relson
     [not found] <ezlKF-2tK-3@gated-at.bofh.it>
     [not found] ` <ezYCm-1xN-17@gated-at.bofh.it>
     [not found]   ` <eA1qy-6iK-7@gated-at.bofh.it>
     [not found]     ` <eAc2C-7md-11@gated-at.bofh.it>
2010-04-17  9:56       ` [gentoo-user] " David W Noon
  -- strict thread matches above, loose matches on Subject: below --
2010-04-15  0:36 Matt Harrison
2010-04-15  8:16 ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox