[systemd-devel] [PATCH] timer: allow user to control activation time of cron-like timers

Lennart Poettering lennart at poettering.net
Thu May 15 14:43:45 PDT 2014


On Sun, 11.05.14 20:08, David Timothy Strauss (david at davidstrauss.net) wrote:

> 
> On Sun, May 11, 2014 at 9:30 AM, Alex B <pkunk.ab at gmail.com> wrote:
> > It's ok for one timer, but not for the set of them.
> > In general I'm want to schedule all maintenance tasks to 5 a.m.
> > or lunch break and forget about them.
> > This applies both for distro provided timers an my own.
> 
> I'd personally like sort of timer that activates at times of low
> system load but with quality-of-service guarantees, like never running
> less frequently than once a day.

I am very conservative with logic like this. Usually its better to just
start the stuff and set it to SCHED_IDLE or so, simply because the
kernel is better at scheduling than systemd could ever be at
second-guessing when it might be a good time to start more...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list