Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
title~/Library/LaunchAgents/speedtest.plist
<?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>
    <!-- The label should be the same as the filename without the extension -->
    <string>speedtest</string>
    <!-- Specify how to run your program here -->
    <key>ProgramArguments</key>
    <array>
        <string>/Users/bnp/Dropbox/speedtest-cli/speedtest.py</string>
        <string>--simple</string>
    </array>
    <key>StandardOutPath</key>
        <string>/Users/bnp/tmp/speedtest.txt</string>
    <!-- Run every 5 min -->
    <key>StartInterval</key>
    <integer>500<<integer>300</integer><!-- seconds -->
</dict>
</plist>

...