Created
February 15, 2017 07:55
-
-
Save xionglun/8f785fd2a2c8295e996767de5daecaf8 to your computer and use it in GitHub Desktop.
Revisions
-
xionglun created this gist
Feb 15, 2017 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ [Unit] Description=A timer service [Service] Type=simple ExecStart=/bin/echo 'Hello, timer' StandardOutput=syslog StandardError=syslog SyslogIdentifier=mytimer This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ [Unit] Description=Run foo weekly and on boot [Timer] OnBootSec=15min OnUnitActiveSec=1w [Install] WantedBy=timers.target