/usr/local/scripts/noipupdate/noipupdater.sh
This is the plist file (stored in /Library/LaunchDaemons/)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST
1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.yournamegoeshere.noipupdater seconds</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/scripts/noipupdate/noipupdater.sh</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StartInterval</key>
<integer>1200</integer>
</dict>
</plist>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST
1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>org.yournamegoeshere.noipupdater seconds</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/scripts/noipupdate/noipupdater.sh</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StartInterval</key>
<integer>1200</integer>
</dict>
</plist>
No comments:
Post a Comment