PDA

View Full Version : Crontab - To send mails


mahendran79
3rd April 2008, 12:23
Newly learning to use unix at work, i am trying to configure the unix server to send mails to me when backups complete. Unsure how to do this, wondering if anyone can assist please.

The server is running tru64.

falko
4th April 2008, 19:51
How do you start the backup? Is the backup run by some script? If so, you could add the mail part ti that script.

mahendran79
7th April 2008, 15:03
The backup is run by a script that was already in place before i started, just do not know the command i should add to get a mail at the end of the script.

falko
8th April 2008, 10:47
Take a look at the mail command: man mail

mahendran79
9th April 2008, 11:45
Thank you falko, will test and will post if i am stuck.