Skip to main content

User Notification & a Talking Mac

 In today's world where social media has become part of our lives like never before, things have started to make more sense when they are personalized with emojis & GIFs. Cyberpsychologist (oh, it's funny if you've never heard of them?) argue that just by sending emojis we can change someone's state of mind. We can discuss more how your girlfriend or boyfriend didn't let you sleep all night with that one emoji she sent you. How about adding much-loved emojis & talking personally to the logged-in user? The human tendency is to act better in when things are familiar to them. But, this post isn't about Cyberpsychology, so we'll go back to Mac.

So, when we know this personalization & emoji works so well, why the notifications that are sent to the users so damn boring? Well, maybe no one thought about it, or maybe we don't care enough.

Well, for the ones who want to break the taboo, here is a quick HealthCheck framework that will talk to the user in a personalized way. The following notification will be sent as first thing to introduce the Mac to the logged-in user. Imaging the bond they would develop when the new employees are welcomed with this cute emoji. Well, you can do a lot more, grep the user's profile image from O365 or Active Directory & set it as user image in System Preferences, but let's keep it simple as of now.
No alt text provided for this image

In version 1.0 there are 3 important notifications to handle simple but very important alerts which can be fixed only by letting users know about them & there is no way to force it centrally.

  • Inform the user to reboot the Mac if it's on for more than 3 days.
  • Inform the user to free disk space if the Mac has less than 15GB of space.
  • Inform the user if Battery needs replacement
Here is how it works:
Screenshots:
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

The solution is very modular. It has an engine that is triggered once a week using a LaunchAgent. Then, this engine executes all the scripts kept in a folder. You can add or remove as many scripts you want, without making any change in the solution.

Well, there is a better way to do this by creating an app but I wanted to keep it simple so that it can be implemented by anyone with no knowledge of scripting whatsoever. Download scripts that work, test it and then add it in SCRIPTS folder.

Change the text as you wish. I'd suggest a better title that suits your organization.
May be adding a number if you have a Helpdesk or IT Support.
Next version we'd add a script to check & fix the proxy, time server & AD bind.
Download it from Github. Read the quick instruction in the Readme file.

Comments

Popular posts from this blog

MAKING A FILE/FOLDER INVISIBLE

How to hide a file/folder using Terminal This is one of the greatest technique that I ever came across, I had to share my Mac in office and was curious about hiding confidential data. This was when I started exploring and finally came up with this solution. These commands are to be typed in Terminal. To make a file or folder invisible in Mac OS X Finder setfile -a V testfile.txt Here is goes, the file or folder is no longer visible via the Finder GUI, though it will be by Terminal. Your files are still there and you can find them via the command line and will show with an ls command. If you want your files and folders to be visible again, use this command: To make a file or folder visible again in Mac OS X Finder setfile -a v testfile.txt Now the file/folder will be visible again to the Finder, cool isn't it? Please Note: setfile is a command line utility included in Apple’s Developer Tools, which is a highly recommended optional install included on any Mac OS X install

ENTOURAGE TROUBLESHOOTING: CRASHES WHILE LAUNCHING - II

Entourage Crashing due to Fonts There are two fonts that are known to be one of the most popular reasons of Entourage crashing. The first one is Helvetica Fractions which is majorly responsible to cause problems, the second is Times Phonetic. In order to fix this issue, don't just disable these fonts in Font Book, but physically remove them from your system and try to launch Entourage again. Other discussed reasons are database , schedules and duplicate daemons .

An introduction to Mac OS X Server

Mac OS X server is combination of Power and Style. It derives power from its strong UNIX base and the style comes from well known Apple GUI. This combination makes Mac OS X Server one of the robust server available in present time. Mac OS X Server is built on a fully compliant UNIX foundation. This battle-tested core provides the stability, performance, and security that organizations require. And full UNIX conformance ensures compatibility with existing server and application software. Mac OS X Server is the ideal platform for deploying groundbreaking enterprise applications and services. The kernel in Mac OS X Server provides superior thread management and affinity algorithms for efficient handling of multithreaded applications on the latest generation of Intel multicore processors. It also provides precise control of real-time processing requirements, allowing a user-level thread — even an unprivileged one — to precisely specify its requirements for time-sensitive operations