You can create a non-SQL UDF (in C, Java etc) that will 'alert' your program ....
For eg, write a file to a directory and your CLI program can get activated when the file is found.
Inside the trigger, call the UDF
VALUES(WRITEFILEUDF())
For information on creating UDFs, refer Appl Development manuals
HTH
Sathyaram