It’s UNIX, how hard can it be? I want to run some Macports uodate scripts regularly. To me the obvious programming language is bash, but I got excited and decided I want to notify that the script had run, and run OK.
There are two schemes, Growl and OSX Notification system. These both have language bindings.
So most roads lead to Applescript, and here is the Apple developer resource, and here is the man osascript page which allows applescript calls from the command line, and hence from within a script. I have bookmarked the applescript manual.
The shell call osascript takes a program file argument.