[Linux-disciples] Re: Cron <root@JeffTweedy> test -e /usr/sbin/anacron || run-parts --report /etc/cron.monthly (fwd)

Adam Kessel adam at rosi-kessel.org
Thu Apr 1 16:11:32 EST 2004


On Thu, Apr 01, 2004 at 04:05:57PM -0500, Dylan Thurston wrote:
> > files stay.  Sometimes this creates bad results, such as this example.  I
> > don't think the Debian structure has a good solution for this at present.
> The usual solution is to make the cron jobs exit immediately when the
> package is not installed.  But in this case, that would have made
> Steve not notice he was missing a package...

Good point.  In fact, the script begins:

[ -x /usr/bin/scrollkeeper-rebuilddb ] || exit 0

At least as the script currently stands, Steve wouldn't have gotten those
error messages if the package was uninstalled.

Perhaps Steve had an old version that didn't have this test, before he
uninstalled the package, and thus the old script was left behind.
-- 
Adam Kessel
http://adam.rosi-kessel.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.bostoncoop.net/pipermail/linux-disciples/attachments/20040401/d70d7d07/attachment-0001.pgp


More information about the Linux-disciples mailing list