Created
June 20, 2019 06:41
-
-
Save missbreadsuperman/ead054b8b5df9702a9975e7866f6b278 to your computer and use it in GitHub Desktop.
setting for launchd
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.demo.daemon.plist</string> | |
<key>StartCalendarInterval</key> | |
<dict> | |
<key>Weekday</key> | |
<integer>1</integer> | |
<key>Hour</key> | |
<integer>14</integer> | |
<key>Minute</key> | |
<integer>36</integer> | |
</dict> | |
<key>StandardErrorPath</key> | |
<string>/Users/bonnie/Documents/demo/stderr.log</string> | |
<key>StandardOutPath</key> | |
<string>/Users/bonnie/Documents/demo/stdout.log</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>PATH</key> | |
<string><![CDATA[/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin]]></string> | |
</dict> | |
<key>WorkingDirectory</key> | |
<string>/Users/bonnie/Documents/demo</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>./echo.sh</string> | |
</array> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment