|
Project Information
|
Links SQS Qs to Growl notifications. Perquisites
SetupOnce boto is installed, add this to the boto.cfg: [sqs-growl] queue = MyQueueName where MyQueueName is the Q you want to listen to (it must first exist) Running the Daemonextract and then run the following command python sqs-growl.py This will listen for any message properly formatted on the Q you specified in the setup section. All messages it doesn't understand will be ignored. Sending MessagesThere's a simple little script called ''send-message.py'' which can be invoked like so: python send-message.py -t type -n name After this is run, it waits for standard input, so just go ahead and type the description and then press enter, followed by ctrl+d. After you do this, it will connect to SQS and send the message. Since this can take a few seconds, don't be worried if it looks like it didn't work. type can be one of the following:
name is the "Title" that you want displayed. This is the larger text. What you enter in on standard in is the smaller text that appears below the name. |