SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Resetting SQL Agent for Notifications to come through


Resetting SQL Agent for Notifications to come through

Author
Message
DVSQL
DVSQL
Right there with Babe
Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)

Group: General Forum Members
Points: 749 Visits: 349
Hey guys,

I am setting up SQL Agent Operator to be used for Job notification when the job fails. The only problem I've encountered was that when the Operator was setup, I could not get the email notifications to come through. Eventually, I resolved it by restarting the SQL Agent Service. The problem is that I can't really do something like this in the production, because of continually running jobs, and scheduling maintenance is going to be pretty difficult. Is there some other way I can resolve this issue, aside from restarting the SQL Agent Service?
Sreekanth B
Sreekanth B
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1158 Visits: 2155
You don't need to restart Agent Service each and every time you create a new Operator to work.

However I do remember on SQL 2005 and 2008, Agent Service needs to be restarted once(Just for the first time), after you enable Alert System (Enable Mail Profile) for your SQL Server.

Again...it's just one time operation, something which you would do right after enabling Mail Profile for your SQL Agent.
DVSQL
DVSQL
Right there with Babe
Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)Right there with Babe (749 reputation)

Group: General Forum Members
Points: 749 Visits: 349
You are absolutely right, I forgot to mention that I had to enable Mail Notification in SQL Agent Alert properties. Any way of getting around restarting Agent, or is that mandatory?
Sreekanth B
Sreekanth B
Ten Centuries
Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)Ten Centuries (1.2K reputation)

Group: General Forum Members
Points: 1158 Visits: 2155
AFAIK...It's Mandatory for the first time.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search