1 |
Am Sun, 29 Mar 2015 16:49:21 -0600 |
2 |
schrieb Canek Peláez Valdés <caneko@×××××.com>: |
3 |
|
4 |
> On Sun, Mar 29, 2015 at 4:32 PM, Marc Joliet <marcec@×××.de> wrote: |
5 |
> > |
6 |
> > Am Sun, 29 Mar 2015 12:48:18 -0600 |
7 |
> > schrieb Canek Peláez Valdés <caneko@×××××.com>: |
8 |
> > |
9 |
> > [...] |
10 |
> > > Are you really sure "0/2:00" means "every 2 hours"? I don't see an |
11 |
> explicit |
12 |
> > > mention in man 7 systemd.time that 0 means "*-*-* 00:00:00". It really |
13 |
> > > worked bi-hourly before? |
14 |
> > |
15 |
> > Yes, it definitely worked before (I've been running this and other timers |
16 |
> for |
17 |
> > about a month). I don't remember how I inferred that rule, but I think it |
18 |
> was |
19 |
> > this bit from systemd.time(7): |
20 |
> > |
21 |
> > "Either time or date specification may be omitted, in which case the |
22 |
> > current day and 00:00:00 is implied, respectively. If the second |
23 |
> component |
24 |
> > is not specified, ":00" is assumed." |
25 |
> > |
26 |
> > But I don't see any definition for these components, so maybe I'm wrong |
27 |
> and my |
28 |
> > timer only works by accident. |
29 |
> > |
30 |
> > > Either way, it cretainly could be a bug. |
31 |
> > |
32 |
> > Perhaps, since it's back to the way it was before: |
33 |
> > |
34 |
> > # systemctl list-timers |
35 |
> > NEXT LEFT LAST |
36 |
> PASSED UNIT ACTIVATES |
37 |
> > Mo 2015-03-30 02:00:00 CEST 1h 44min left Mo 2015-03-30 00:00:00 |
38 |
> CEST 15min ago backup-hourly.timer |
39 |
> backup@××××××.service |
40 |
> > [...] |
41 |
> |
42 |
> Perhaps the bug is only in how systemctl presents the information. |
43 |
|
44 |
If I understand you correctly, then no: backup@××××××.service did not run |
45 |
in spite of the contradictory next run time. The only times it ran were when I |
46 |
manually started it intermittently. |
47 |
|
48 |
I suppose I'll have to file a bug report. At the very least I'll find out if |
49 |
this was a systemd bug or not. |
50 |
|
51 |
Greetings |
52 |
-- |
53 |
Marc Joliet |
54 |
-- |
55 |
"People who think they know everything really annoy those of us who know we |
56 |
don't" - Bjarne Stroustrup |