Add Persistent=true to systemd.timer #60

Merged
witten merged 1 commits from :master into master 2018-05-21 05:18:13 +00:00
Collaborator
Persistent=

    Takes a boolean argument. If true, the time when the service unit was last
triggered is stored on disk. When the timer is activated, the service unit is
triggered immediately if it would have been triggered at least once during the time
when the timer was inactive. This is useful to catch up on missed runs of the service
when the machine was off. Note that this setting only has an effect on timers
configured with OnCalendar=. Defaults to false.

If a daily backup was missed, the backup should be started immediately and not wait for the next daily invocation (when the machine might be switched off again).

``` Persistent= Takes a boolean argument. If true, the time when the service unit was last triggered is stored on disk. When the timer is activated, the service unit is triggered immediately if it would have been triggered at least once during the time when the timer was inactive. This is useful to catch up on missed runs of the service when the machine was off. Note that this setting only has an effect on timers configured with OnCalendar=. Defaults to false. ``` If a daily backup was missed, the backup should be started immediately and not wait for the next daily invocation (when the machine might be switched off again).
witten closed this pull request 2018-05-21 05:18:13 +00:00
Owner

Thanks for taking the time to add this! Makes sense.

Thanks for taking the time to add this! Makes sense.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: borgmatic-collective/borgmatic#60
No description provided.