[systemd-devel] Systemd.timer: Possibility to execute job hourly between 6 am and 6 pm.

Lennart Poettering lennart at poettering.net
Tue Jan 27 18:48:40 PST 2015


On Fri, 16.01.15 11:38, Kris Erik Schwerdt (Schwerdt at itsc.uni-luebeck.de) wrote:

> Hello,
> 
> I was just trying to replace some cron-jobs by systemd-timers. I'm using
> system 218 on archlinux. During doing so I recognized, that it is not
> possible to describe something like >execute this job hourly between 6 am
> and 6 pm. In cron this was possible by saying 6-18/1:00:00 for the time.

There has been a TODO list item of allowing ".." as syntax for
specifying ranges like this, but this has not been implemented yet.

As mention on that other mail, the comma notation is a way out for
now.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list