I have a couple of cron jobs that I would like to log output to the Notification app in Mountain Lion. I've searched and and figured out how to log cron output by editing the plist file, but nothing specifically about how to integrate into the Notifications app.
-
Feel free to edit this to show why / how the liked question is different or what you didn't get from that Q&A to solve your problem. Once it's edited, you can flag it for review and potential re-opening.– bmike ♦Mar 12, 2013 at 16:07
1 Answer
You need to use a third party piece of software to send messages to the Notification Center from command line tools and scripts.
terminal-notifier appears to be a popular solution. OSXDaily has an article walking through how to set terminal-notifier up.
Alternative methods are covered in the answers to, how can I trigger a Notification Center notification from an AppleScript or shell script?