Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Nov 2005 00:06:15 +0100
From:      Ed Schouten <ed@fxq.nl>
To:        freebsd-doc@freebsd.org
Subject:   [Using portsnap] Crontab rule when using portsnap from ports
Message-ID:  <20051121230615.GB81013@hoeg.nl>

next in thread | raw e-mail | index | archive | help

--IiVenqGWf+H9Y6IX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello FreeBSD docs guys,

It looks like there is a small bug on the 'Using portsnap' page [1]:

| Adding the following line to /etc/crontab will cause portsnap to
| update its compressed snapshot and the INDEX files in /usr/ports/, and
| will send an email if any installed ports are out of date:
|=20
| 0 3 * * * root portsnap -I cron update && pkg_version -vIL=3D

Running portsnap with multiple commands does not work when portsnap is
built from ports.

An extra 'Note' should be added below:

| Note: Portsnap from Ports does not understand multiple instructions at
| a time. Replace 'portsnap -I cron update' with 'portsnap cron &&
| portsnap -I update'.

Yours,
--=20
 Ed Schouten <ed@fxq.nl>
 WWW: http://g-rave.nl/

[1]: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html

--IiVenqGWf+H9Y6IX
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDglLnmVI4SHXwmhERAhw0AJ9AlIfnZAzQ016R8dBVGdMAqJNecwCfQke0
FumiLeO6ZIiTHOvDdf5hzoY=
=07Hh
-----END PGP SIGNATURE-----

--IiVenqGWf+H9Y6IX--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051121230615.GB81013>