Skip to content

Instantly share code, notes, and snippets.

@the-takeo
Created August 23, 2016 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save the-takeo/17749a7b2413ec047f282457494e87d1 to your computer and use it in GitHub Desktop.
Save the-takeo/17749a7b2413ec047f282457494e87d1 to your computer and use it in GitHub Desktop.
<?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>SyncMyDNS</string>
<key>ProgramArguments</key>
<array>
<string>curl</string>
<string>-l</string>
<string>http://<masterID>:<password>@www.mydns.jp/</string>
</array>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>00</integer>
<key>Minute</key>
<integer>30</integer>
</dict>
</dict>
</plist>
curl -l http://<masterID>:<password>@www.mydns.jp/
# ex) http://mydns123456:abc123@www.mydns.jp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment