Adding launchd scripts, needs testing
This commit is contained in:
parent
718431b361
commit
c734a085e7
1 changed files with 22 additions and 0 deletions
22
launchd/net.andrew.backup.sh.plist
Normal file
22
launchd/net.andrew.backup.sh.plist
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?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>net.andrew.backup.sh</string>
|
||||
<key>ProgramArguments</key>
|
||||
<array>
|
||||
<string>touch</string>
|
||||
<string>/tmp/helloworld</string>
|
||||
</array>
|
||||
<key>StartCalendarInterval</key>
|
||||
<dict>
|
||||
<key>Minute</key>
|
||||
<integer>0</integer>
|
||||
</dict>
|
||||
<key>StandardOutPath</key>
|
||||
<string>/var/log/testDaemon.log</string>
|
||||
<key>StandardErrorPath</key>
|
||||
<string>/var/log/testDaemon.log</string>
|
||||
</dict>
|
||||
</plist>
|
Loading…
Reference in a new issue