Quantcast
Channel: Forumul SQL Server Setup
Viewing all articles
Browse latest Browse all 7686

Reporting and Logging sending multiple emails Calling on all SQL Experts

$
0
0

I asked this question before but we got side tracked thinking it was email not working on sql.

I run SQL 2008 64 Bit on a Windows 2008 R2 64 bit server.

Email database does work. SQLAgent setup properly.

I created several maintenance plans.

Each Maintenance Plan has 5 to 6 tasks defined which created 5 to 6 jobs. Reason some have six is for a transaction log backup.

My tasks are 1. check Database  Integrity  Task 2. Shrink Database Task 3. Maintenance Cleanup Task 4. Full Backup Task 5 Transaction Log Backup Task 6. History Cleanup Task 

That creates a subplan_1 subplan_2 subplan_3 subplan_4 subplan_5 subplan_6

The jobs are created DB Maint Plan Test.subplan_1 DB Maint Plan Test.subplan_2 DB Maint Plan Test.subplan_3 DB Maint Plan Test.subplan_4 DB Maint Plan Test.subplan_5 DB Maint Plan Test.subplan_6

My schedule is subplan_1 subplan_2 subplan_3 subplan_4 and subplan_6 run on Sunday only. subplan_6 runs every day except for Sunday.

When I created the Maintenance plan the Reporting and Logging was set to see below

With this setup I expect to receive an email for every job step that processes and I do.

I get a report in the body of the email showing if job was successful or not. All works great.

My Problem is that I receive multiple emails for the exact same job step. Anywhere from 3 to 5 duplicate email

I have checked the jobs properties and the mainenance plan can not find any thing wrong.

If I run the job step manually it works only one email this only happens during the scheduled runs.

I recently upgraded from SQL 2005 to SQL 2008 and this worked great on SQL 2008.

SQL 2008 is a new install on a new server.

So again I get muitple emails for the same job step.

Any ideas on why?

Thanks

Tom


Thomas R Grassi Jr



Viewing all articles
Browse latest Browse all 7686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>