• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Email on Restart from Server

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    Email on Restart from Server

    Is there a way of getting a server to send an email on restart?

    Just need a method of knowing when some numtpy resets my server or an automatic update.
    What happens in General, stays in General.
    You know what they say about assumptions!

    #2
    2003 Server?

    I think that there is a Computer "startupScript" that could be used to run a mailer script.

    http://207.46.196.114/WindowsServer/....mspx?mfr=true
    www.stormtrack.co.uk - My Stormchasing website.

    Comment


      #3
      Yep, place a script in the init.d directory set to run last and call sendmail/postfix/exim etc with the correct parameters. Use 'man' to find what the parameters are for your mail system.
      Listen to my last album on Spotify

      Comment


        #4
        Originally posted by Cowboy Bob
        Yep, place a script in the init.d directory set to run last and call sendmail/postfix/exim etc with the correct parameters. Use 'man' to find what the parameters are for your mail system.
        Needs to be linked to appropriate run level directories as well i.e. /etc/rc2.d etc etc.....

        See you, you ****. I'll cut you first...

        Comment


          #5
          Cheers Guys. Much appreciated.
          What happens in General, stays in General.
          You know what they say about assumptions!

          Comment


            #6
            Originally posted by Mr Crosby
            Needs to be linked to appropriate run level directories as well i.e. /etc/rc2.d etc etc.....
            Goes without saying...
            Listen to my last album on Spotify

            Comment


              #7
              Originally posted by Cowboy Bob
              Goes without saying...
              Sorry mate I'm in patronising mode after dealing with technical consultants for the last few hours...

              See you, you ****. I'll cut you first...

              Comment


                #8
                Much easier suggestion. This server runs SQL Server and so it was suggested for me to run a job on start up.

                Surprised I missed that.
                What happens in General, stays in General.
                You know what they say about assumptions!

                Comment


                  #9
                  If the server is an xSeries from IBM then you only need to stick an RSA card into it and configure it. Alternatively you can configure the ServeRAID manager to send to send mails or SMTP alerts. This way you'll know that the hardware has booted but if the OS is not running you know that you have a serious problem.
                  Brexit is having a wee in the middle of the room at a house party because nobody is talking to you, and then complaining about the smell.

                  Comment


                    #10
                    Blat

                    http://www.blat.net/
                    Always forgive your enemies; nothing annoys them so much.

                    Comment

                    Working...
                    X