-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
systemd 229: timer unit 'OnCalendar=' calculates wrong execution date #2682
Comments
|
probably fall-out from 436dd70. @mustrumr any idea? |
|
@poettering Or why is NEXT in the past? Here is my timer: |
|
I am having the same issue using a timer that triggers a target using OnCalendar=daily Timer: Output of 'systemctl list-timers' |
|
Has anybody found a workaround for this yet? |
|
Note that asdf.target/service should be stopped in order for asdf.timer to rearm. |
|
@Yamakaia: |
This happens at least using CET time (24 hours) and a timer controlled service which uses 'OnCalendar=' (other time specifications seem to work well).
Example:
Let's say current date and time is:
Sunday, 9:00 CET
Unit file 'test.timer' contains:
[Unit]
...
[Timer]
OnCalendar=Sun 16:00:00
[Install]
WantedBy=multi-user.target
The corresponding 'test.service' should be executed 7 hours later but it don't! 'systemctl list-timers' shows next execution for a week later (Sunday next week and not for today).
This happens with systemd 229-2, downgrading to 228-4 and it works fine again.
The text was updated successfully, but these errors were encountered: