Created
October 27, 2019 01:08
-
-
Save mcrmonkey/a89e521cba45273293565b7ea11231af to your computer and use it in GitHub Desktop.
systemd timer
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
[Unit] | |
Description=Description of service target | |
#Documentation=man:apt(8) | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=oneshot | |
ExecStart=/path/to/thing |
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
[Unit] | |
Description=Description of timer | |
[Timer] | |
OnCalendar= Mon...Fri *-*-* 16:00 | |
RandomizedDelaySec=6m | |
Persistent=false | |
[Install] | |
WantedBy=timers.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment