On Wed, Jul 27, 2016 at 5:42 PM, Ruben Kerkhof <ru...@rubenkerkhof.com> wrote:
> On Wed, Jul 27, 2016 at 5:17 PM, John Florian <john.flor...@dart.biz> wrote:
>> How can this metadata be leveraged with automation?  I have the dnf
>> tracer plugin which I believe is using this metadata to tell me when I
>> need to reboot, but what if I have this in a cron job?
>
> The docs at http://dnf-plugins-extras.readthedocs.io/en/latest/tracer.html
> say it calls tracer directly, so it shouldn't be too hard to do the
> same thing from cron.

I also just learned of dnf updateinfo. Unfortunately I didn't get it
to show the reboot recommendation.

$ dnf updateinfo list updates security
Last metadata expiration check: 0:30:23 ago on Wed Jul 27 21:18:51 2016.
FEDORA-2016-615f3bf06e security gd-2.2.3-1.fc24.x86_64
FEDORA-2016-9a16b2e14e security kernel-4.6.4-301.fc24.x86_64
FEDORA-2016-42514bee97 security libidn-1.33-1.fc24.x86_64
FEDORA-2016-42514bee97 security libidn-debuginfo-1.33-1.fc24.x86_64
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to