Sfoglia il codice sorgente

Merge pull request #7 from robboek/patch-1

Correct job name if no @customoper is specified.
Amit Banerjee 9 anni fa
parent
commit
27580a7097
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      MaintenanceSolution/4_job_AdaptiveCycleErrorlog.sql

+ 2 - 2
MaintenanceSolution/4_job_AdaptiveCycleErrorlog.sql

@@ -44,14 +44,14 @@ BEGIN
 END
 ELSE
 BEGIN
-	EXEC @ReturnCode =  msdb.dbo.sp_add_job @job_name=N'Daily Index Defrag', 
+	EXEC @ReturnCode =  msdb.dbo.sp_add_job @job_name=N'Daily Cycle Errorlog', 
 		@enabled=1, 
 		@notify_level_eventlog=2, 
 		@notify_level_email=3, 
 		@notify_level_netsend=0, 
 		@notify_level_page=0, 
 		@delete_level=0, 
-		@description=N'Inteligent defrag on one or more indexes for one or more databases.', 
+		@description=N'Cycles Errorlog when its size is over 20MB or its age over 15 days.', 
 		@category_name=N'Database Maintenance', 
 		@owner_login_name=@jobowner,
 		@job_id = @jobId OUTPUT