Skip to content

Instantly share code, notes, and snippets.

@databyjp
Last active May 12, 2022 01:50
Show Gist options
  • Save databyjp/e35240311aa373c6c9224142f26a5b17 to your computer and use it in GitHub Desktop.
Save databyjp/e35240311aa373c6c9224142f26a5b17 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>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin</string>
</dict>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<true/>
</dict>
<key>Label</key>
<string>Update NBA data</string>
<key>ProgramArguments</key>
<array>
<string>/Users/jphwang/<path_to>/update_2021_data.sh</string>
</array>
<key>RunAtLoad</key>
<false/>
<key>StandardErrorPath</key>
<string>/Users/jphwang/PycharmProjects/projects/nba_marvin/logs/launchd.err.log</string>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Hour</key>
<integer>14</integer>
<key>Minute</key>
<integer>0</integer>
</dict>
</array>
<key>WorkingDirectory</key>
<string>/Users/jphwang/PycharmProjects/projects/nba_marvin</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment