Crontab - To send mails

Discussion in 'Suggest HOWTO' started by mahendran79, Apr 3, 2008.

  1. mahendran79

    mahendran79 New Member

    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.
     
  2. falko

    falko Super Moderator Howtoforge Staff

    How do you start the backup? Is the backup run by some script? If so, you could add the mail part ti that script.
     
  3. mahendran79

    mahendran79 New Member

    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.
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Take a look at the mail command:
    Code:
    man mail
     
  5. mahendran79

    mahendran79 New Member

    Thank you falko, will test and will post if i am stuck.
     

Share This Page