[systemd-bugs] [Bug 87859] systemd.time documentation: 'day of month' vs 'day of week'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 31 16:50:59 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=87859

--- Comment #1 from Chris Atkinson <cwa at pipeline.com> ---
I do not believe that is how systemd.time works. As is noted in the man page:

"Calendar events may be used to refer to one or more points in time in a single
expression. They form a superset of the absolute timestamps explained above:

           Thu,Fri 2012-*-1,5 11:12:13

The above refers to 11:12:13 of the first or fifth day of any month of the year
2012, given that it is a Thursday or Friday."

I read this as saying that only days which are both Thurs/Fri AND 1/5 would be
included. I tested this by creating a timer which included "OnCalendar=Thu,Fri
2015-*-5 11:12:13". I then started it on Thur 2014-12-31 and ran "systemctl
list-timers", which showed the service would run on Thur 2015-02-05, the next
day which is the fifth calendar day of a month and a Thursday.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150101/6a04f401/attachment.html>


More information about the systemd-bugs mailing list