Re: Comment on: Use systemd timers instead of /etc/cron.{hourly, daily, weekly, monthly}?

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



On Tue, 6 May 2014 13:23:26 -0500
Maciej Puzio <mx34567@xxxxxxxxx> wrote:

> As I wrote before, I can edit every timer file and set the elapse
> time. What I can't do is to change one setting which says when daily
> maintenance tasks are run. This was possible with cron, but is no
> longer possible now. What's the problem to edit four files? Well, this
> is multiplied by the number of machines that are under my care.
> Again, here is relevant systemd RFE link:
> https://bugs.freedesktop.org/show_bug.cgi?id=77938

This is bogus.

See "man 7 systemd.time"; what you want is something like "OnCalendar=*-*-*
04:10:20" for a job that runs every day at 4:10:20 AM.

> On Mon, May 5, 2014 at 12:21 PM, Leonid Isaev <lisaev@xxxxxxxxxxxx> wrote:
> > Systemd timers (at least in the current form) are _not_ cron replacement.
> > However, they are adequate for daily maintainance jobs that are shipped
> > with packages. If you had custom, carefully scheduled cron jobs, you should
> > continue using cronie. What I don't understand is why do you care when
> > man-db/updatedb runs?

After re-reading the documentation I have to take this back, systemd timers
seem to implement all features provided by cronie.

Cheers,
-- 
Leonid Isaev
GPG fingerprints: DA92 034D B4A8 EC51 7EA6  20DF 9291 EE8A 043C B8C4
                  C0DF 20D0 C075 C3F1 E1BE  775A A7AE F6CB 164B 5A6D

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux