Re: [systemd-devel] Timer: time format

2016-08-23 Thread Mikhail Kasimov
23.08.2016 16:55, arnaud gaboury пишет: On Tue, Aug 23, 2016 at 3:52 PM, arnaud gaboury wrote: On Tue, Aug 23, 2016 at 3:39 PM, Michael Chapman wrote: On Tue, 23 Aug 2016, arnaud gaboury wrote: I am really sorry for this post as this may

Re: [systemd-devel] Timer: time format

2016-08-23 Thread Michael Chapman
On Tue, 23 Aug 2016, arnaud gaboury wrote: Do I have to add: Persistent=true and an OnBootSec entry ? OnUnitActiveSec= without OnBootSec= is a bit problematic... if you never start the service manually (or have something else in systemd start it), then the OnUnitActiveSec= directive is

Re: [systemd-devel] Timer: time format

2016-08-23 Thread arnaud gaboury
On Tue, Aug 23, 2016 at 3:39 PM, Michael Chapman wrote: > On Tue, 23 Aug 2016, arnaud gaboury wrote: >> >> I am really sorry for this post as this may sound like a trivial one, >> but honestly the timer topic is difficult to understand for me (at >> least the time format).

Re: [systemd-devel] Timer: time format

2016-08-23 Thread arnaud gaboury
On Tue, Aug 23, 2016 at 3:52 PM, arnaud gaboury wrote: > On Tue, Aug 23, 2016 at 3:39 PM, Michael Chapman > wrote: >> On Tue, 23 Aug 2016, arnaud gaboury wrote: >>> >>> I am really sorry for this post as this may sound like a trivial one, >>>

Re: [systemd-devel] Timer: time format

2016-08-23 Thread Michael Chapman
On Tue, 23 Aug 2016, arnaud gaboury wrote: I am really sorry for this post as this may sound like a trivial one, but honestly the timer topic is difficult to understand for me (at least the time format). I am looking to run a service twice a day, never mind the time. I understand I must use

Re: [systemd-devel] Timer: time format

2016-08-23 Thread Mikhail Kasimov
Hello! Due to system.time (https://www.freedesktop.org/software/systemd/man/systemd.time.html) we have a construction "year-month-day hour:minute:second". Hence, OnCalendar=*:12:00 construction means ' run my service at any hour on 12th minute on 00 seconds'. To specify 'running every 12

Re: [systemd-devel] Timer: time format

2016-08-23 Thread Dave Reisner
On Tue, Aug 23, 2016 at 11:38:57AM +0200, arnaud gaboury wrote: > I am really sorry for this post as this may sound like a trivial one, > but honestly the timer topic is difficult to understand for me (at > least the time format). > > I am looking to run a service twice a day, never mind the