I would like to ask if it is possible to configure periodic in a way
that notifies me of ne updates via pkg and freebsd-update.
Is there a way to do that (and only that, not daily mails about normal operations)?
Marco Moock <mm@dorfdsl.de> writes:
I would like to ask if it is possible to configure periodic in a way
that notifies me of ne updates via pkg and freebsd-update.
Is there a way to do that (and only that, not daily mails about
normal operations)?
"freebsd-update cron"? It emails you if updates were found.
As to pkg, I don't understand what you're actually trying to
accomplish because I see no reason to do "pkg update" unless there's
actually some package you're thinking of updating (and pkg upgrade
does pkg update automatically). Similarly, I'm not sure why you
would want to upgrade a package merely because a newer one has
appeared. "pkg audit", whether run by you or by the
periodic/security script, will tell you if there's a security issue
with an installed package.
I would like to ask if it is possible to configure periodic in a way
that notifies me of ne updates via pkg and freebsd-update.
Is there a way to do that (and only that, not daily mails about
normal operations)?
"freebsd-update cron"? It emails you if updates were found.
Crontab has such a line:
@daily root freebsd-update cron
I haven't received any message yet, mail to root works and the
periodic reports are delivered.
... I'm not sure why you would want to upgrade a package merely
because a newer one has appeared.
I normally keep my system on the latest versions of packages.
Is there a reason against that?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 56:59:47 |
Calls: | 10,397 |
Calls today: | 5 |
Files: | 14,067 |
Messages: | 6,417,443 |
Posted today: | 1 |