Re: anacron/cron

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

 



On 09/19/2016 02:57 PM, Andy Blanchard wrote:
> On 19 September 2016 at 22:38, Patrick Dupre <pdupre@xxxxxxx> wrote:
>> I did:
>> systemctl enable mlocate-updatedb.service
>> (no error)
>> but it still does not seem to be enabled:
>> ● mlocate-updatedb.service - Update a database for mlocate
>>    Loaded: loaded (/usr/lib/systemd/system/mlocate-updatedb.service; static; vendor preset: disable
>>    Active: inactive (dead)
>>
>> Sep 19 23:15:02 teucidide systemd[1]: Stopped Update a database for mlocate.
>> Sep 19 23:15:03 teucidide systemd[1]: Started Update a database for mlocate.
>>
>> systemctl is-enabled mlocate-updatedb.service
>> static
>>
>> Is it OK ?
> 
> AFAICT the service only runs the mlocate update once on boot.  What
> you need for regular mlocate DB updates is the systemd timer, which
> will run the necessary script at midnight every day by default:
> 
> systemctl enable mlocate-updatedb.timer
> 
> Note that last bit reads "timer" not "service".  You can check if it's
> enabled by running:
> 
> systemctl list-timers
> 
> and looking for "mlocate-updatedb.timer" in the fifth ("UNIT") column
> - the entry in the first column is when it's next scheduled to run.

Well, lovely. I've found that "systemctl --full list-timers" truncates
the display if your terminal isn't wide enough (at least it truncates
using xfce-terminal) and gives you no indication it has done so. Isn't
"--full" supposed to wrap the display so that doesn't happen? That's
what the man page says it does.

Yet another reason I absolutely deplore this systemd/systemctl crap.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 226437340           Yahoo: origrps2 -
-                                                                    -
- Political Correctness: The insane doctrine that postulates that it -
-     is entirely possible to pick up a turd by the clean end.       -
----------------------------------------------------------------------
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux