On Mon, Aug 06, 2007 at 03:59:18PM +0200, Raphael Hertzog wrote:
> On Mon, 06 Aug 2007, Justin wrote:
> > I think dh-make should help with some change like:
> > 
> > --- cron.d.ex.orig  2007-08-06 09:42:47.000000000 -0400
> > +++ cron.d.ex       2007-08-06 09:42:42.000000000 -0400
> > @@ -1,4 +1,4 @@
> >  #
> >  # Regular cron jobs for the xx package
> >  #
> > -0 4        * * *   root    xx_maintenance
> > +0 4        * * *   root    [ ! -x /usr/bin/foo ] || foo --bar
> 
> Agreed on the principle, but I'd rather have:
> [ -x /usr/bin/foo ] && foo --bar
> 
> It seems more natural to my brains. :-)
As long as cron doesn't watch the exit status this is okay with me.
This seems to be right for both cron and anacron.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to