• Mac OS X,  Mac OS X Server,  Mac Security

    Scripting Notification Alerts to Notification Center in Mountain Lion

    The terminal-notifier command is a tool used for sending messages and actions to the Notification Center. It’s a gem, so to set it up we’ll first run the gem command to install it by name: gem install terminal-notifier Once installed, run the command along with the -message option followed by a quoted message: terminal-notifier -message "Hello world" This produces a message from Notification Center as follows: The title on the screen though, says Terminal. We want to change the title to something else. To do so, add the -title option. Adding the -title option along with a quoted title then displays a title in the top of the notification. You…

  • Mac OS X,  Mac OS X Server,  Mac Security,  Mass Deployment

    Enable Push Notifications In OS X Mountain Lion Server

    Push Notifications can be used in most every service OS X Mountain Lion Server can run. Any service that requires Push Notifications will provide the ability to setup APNS during the configuration of the service. But at this point, I usually just set up Push Notifications when I setup a new server. To enable Push Notifications for services, you’ll first need to have a valid AppleID. Once you have an AppleID, open the Server app and then click on the name of the server. At the Overview screen, click on Settings. At the Settings screen for your server, click on the check-box for “Enable Apple push notifications.” At the Apple…