PDA

View Full Version : Send e-mail with a Shell Script


Stela
11-09-2008, 06:05 AM
Hello.

I would like to send an e-mail when a backup is made.

I think that is possible using a shell script that Superduper launches when the backup is complete, but I dont know how to make shell scripts.

Does anyone knows how to do this?

Thanks :)

dnanian
11-09-2008, 08:02 AM
Install Growl (http://www.growl.info), which we support, and you can use its "MailMe" notification type to mail for both successful and failed copies.

Stela
11-09-2008, 09:30 AM
Hi, thanks for the reply.

I already have Growl installed, i try to config it with your instructions, but had no lunk, how do I use mailme? It doesn't appear on Growl.

Superduper appears on Growl, but how can i config it to send a mail message?

Thanks again

dnanian
11-09-2008, 09:34 AM
It's one of the notification types in Growl's preference pane: you pick SD!, the notification you want, and then change the "Display Style".

Stela
11-09-2008, 10:13 AM
It all goes well until it tries to use the script

Documents/Work/ServicoProprio/Many/Scripts/NewMessage.scpt: Permission denied

:confused:

dnanian
11-09-2008, 10:16 AM
Why are you running that script? It sounds like something you wrote, not part of Growl. Turn that option off.

Stela
11-09-2008, 10:32 AM
But that only appear when I did Mailme on Growl.

dnanian
11-09-2008, 11:07 AM
I don't know why that would be: please ensure that you are not trying to run that yourself, in the Advanced tab of Options.