Mike Tuller wrote:
> I have created a script to backup files on a system, and want to set it so
> that when the backup is completed it will send an email to me. That way I
> can monitor if backups are being done. It looks like it has run, but I don't
> receive an email, so it must not be. Here is what I have as the part of the
> script that sends the email.
> 
> 
> echo "Email message body here." | mail -s "Email subject" me at domain.com
> 
> 
> What is wrong with this?
> 
> 
> 
> Mike
> 
Looks good to me.  Have you tried it from the command line?  Are you 
sure mail is the right command for mail?  Does the man page for mail 
give you any clue?  Is there anything in the script that might cause it 
to exit prematurely?

HTH,

Eric

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list