-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test Plan: Ran Chef, confirmed no timer changes seen Differential Revision: D65891069 fbshipit-source-id: 0ef9be602dc170682fd228c0e916a4038996fe28
- Loading branch information
1 parent
4248f09
commit 183ef44
Showing
5 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file managed by chef. | ||
# Local changes to this file will be overwritten. | ||
|
||
[Unit] | ||
Description=Run scheduled task lazy | ||
After=network.target | ||
|
||
[Service] | ||
Type=oneshot | ||
Slice=system-timers-lazy.slice | ||
ExecStart=/usr/local/bin/foobar.sh | ||
TimeoutStopSec=90s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# This file managed by chef. | ||
# Local changes to this file will be overwritten. | ||
|
||
[Unit] | ||
Description=Run scheduled task lazy | ||
|
||
[Install] | ||
WantedBy=timers.target | ||
|
||
[Timer] | ||
OnCalendar=*:0/15:0 | ||
AccuracySec=1s | ||
Persistent=false | ||
RandomizedDelaySec=0s | ||
Unit=lazy.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters