Closed haleemur closed 8 years ago
its working for me on mac osx el capitan, so maybe we can update the documentation. happy to submit a PR.
However, mac's don't support crontab, so instead, we have to create a plist entry. This is what I had working:
file name: com.user.himawaripy.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> <string>com.user.himawaripy</string> <key>ProgramArguments</key> <array> <string>/usr/local/bin/himawaripy</string> </array> <key>Nice</key> <integer>1</integer> <key>StartInterval</key> <integer>600</integer> <key>RunAtLoad</key> <true/> <key>StandardErrorPath</key> <string>/tmp/himapy.err</string> <key>StandardOutPath</key> <string>/tmp/himapy.out</string> </dict> </plist>
and then it was necessary to load the plist file
plist
launchctl load ~/Library/LaunchAgents/com.user.himawaripy.plist
Thanks for contributing! I'd also be happy to have a PR. :)
its working for me on mac osx el capitan, so maybe we can update the documentation. happy to submit a PR.
However, mac's don't support crontab, so instead, we have to create a plist entry. This is what I had working:
and then it was necessary to load the
plist
file