[Using portsnap] Crontab rule when using portsnap from ports
Ed Schouten
ed at fxq.nl
Mon Nov 21 23:06:17 UTC 2005
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:
|
| 0 3 * * * root portsnap -I cron update && pkg_version -vIL=
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,
--
Ed Schouten <ed at fxq.nl>
WWW: http://g-rave.nl/
[1]: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/portsnap.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20051122/66ed9406/attachment.sig>
More information about the freebsd-doc
mailing list