Re: cron.daily jobs needed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stephen John Smoogen wrote:
>>> prelink - we don't start apps that often - they're mostly
>>> long-running.
> 
> If I understand prelink correctly, it really only needs to be run
> after an RPM update. We could move this to a monthly cron or a check
> that if rpm -V shows prelink problems it is run.

Actually it already does something like that if you set the
PRELINK_NONRPM_CHECK_INTERVAL to something large, basically it only runs
an update if a new RPM was installed since the last update.

  [ "`find /var/lib/misc/prelink.quick -mtime
-${PRELINK_NONRPM_CHECK_INTERVAL:-7} 2>/dev/null`" \
    -a -f /var/lib/rpm/Packages \
    -a /var/lib/rpm/Packages -ot /var/lib/misc/prelink.quick ] && exit 0


Mark
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux