a9392f024a
You should place the file inside of: `$HOME/Library/LaunchAgents` and then enable by running `launchctl load org.ooni.probe.cli.plist` It assumes you have a `ooniprobe` binary in `~/.ooniprobe/ooniprobe` and a special config file named `/Users/USERNAME/.ooniprobe/config-100sites.json` with a URL limit of 100 sites per run: ``` "nettests": { "websites_url_limit": 100 }, ```
35 lines
871 B
Plaintext
35 lines
871 B
Plaintext
<?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.ooni.probe.daily-run</string>
|
|
|
|
<key>KeepAlive</key>
|
|
<false/>
|
|
<key>RunAtLoad</key>
|
|
<true/>
|
|
|
|
<key>Program</key>
|
|
<string>/Users/USERNAME/.ooniprobe/ooniprobe</string>
|
|
<key>ProgramArguments</key>
|
|
<key>ProgramArguments</key>
|
|
<array>
|
|
<string>--config="/Users/USERNAME/.ooniprobe/config-100sites.json"</string>
|
|
<string>--batch</string>
|
|
<string>run</string>
|
|
</array>
|
|
|
|
<key>StartInterval</key>
|
|
<integer>3600</integer>
|
|
|
|
<key>StandardErrorPath</key>
|
|
<string>/tmp/ooniprobe-cli.err</string>
|
|
|
|
<key>StandardOutPath</key>
|
|
<string>/tmp/ooniprobe-cli.out</string>
|
|
</dict>
|
|
</plist>
|
|
|
|
|