473,320 Members | 1,945 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Scheduled Job History

Is there a way to increase the number of records preserved in job
history? I have 82 jobs on my box, 30 of them run every 20 minutes
for 23 hours a day, every 30 days. Another 30 run once, every 30
days. The system seems to have a limit of 50 history records for any
job that hasn't run since yesterday and purges all history records if
the job is more than a week old. I didn't know if there might be a
configuration record buried in MSDB or somewhere else that would allow
me to increase this size or perhaps a system SP that prunes job
history that I could modify.

It isn't critical as the system is set to notify me when jobs fail,
but still, I'd like to be able to look at a given day and verify that
everything went normally.
Jul 20 '05 #1
1 3472

"P.D.N. Tame" <ww***@hotmail.com> wrote in message
news:bc**************************@posting.google.c om...
Is there a way to increase the number of records preserved in job
history? I have 82 jobs on my box, 30 of them run every 20 minutes
for 23 hours a day, every 30 days. Another 30 run once, every 30
days. The system seems to have a limit of 50 history records for any
job that hasn't run since yesterday and purges all history records if
the job is more than a week old. I didn't know if there might be a
configuration record buried in MSDB or somewhere else that would allow
me to increase this size or perhaps a system SP that prunes job
history that I could modify.

It isn't critical as the system is set to notify me when jobs fail,
but still, I'd like to be able to look at a given day and verify that
everything went normally.


In Enterprise Manage, right-click SQL Server Agent, then pick Properties,
Job System, and set the history options as you want. You can also use
sp_set_sqlagent_properties, but this procedure isn't documented, so it may
not be the best way to go.

Simon
Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Iain Hosking | last post by:
I am running a SQL Server 2000 installation with several databases. Each database and log is backed-up using a maintenance plan. The scheduled maintance plan for the latest database does not run,...
5
by: A. Lovhaug | last post by:
I have a console application built in the .NET Framework. This application basically executes an XCopy based on parameters that I pass to it. I use it for creating scripts for backing up folders,...
4
by: Resant | last post by:
I have a scheduled job contain 2 steps. Step 1 is execute DTS Package using CmdExec 'DTSRun', step 2 using TSQL to execute just simple query. This job execute recurely every day, every 6 hours....
6
by: John Bowman | last post by:
Hi, I have a C# app that needs to launch the "Add Scheduled Tasks" wizard found in the control panel "Scheduled Tasks" applet. I realize that this "applet" really just opens the tasks folder,...
1
by: satelite | last post by:
Hello, I am writing an exe that is intended to be run via a scheduled task. However, I also need the flexibility to have users run the scheduled task manually (right click task and select run). ...
6
by: teddysnips | last post by:
My client has a number of jobs that are run overnight. We've set them up to email me when they're completed. Every morning I get in to a bunch of emails like this: <quote> JOB RUN: 'Tech...
1
by: Myster Edd | last post by:
I have a strange problem that I think deals with security on SQL 2005. I have a scheduled task that runs on a Windows 2000 machine. It calls a vb script which creates a connection to SQL Server. ...
0
by: Paulson | last post by:
Dear Freinds I want to make a program that acts as a reminder for the users.I need to open up the Scheduled task wizard programmatically.If you type Tasks in the run command the Tasks...
9
by: jdaelhousen | last post by:
I have a bit of a problem I'm hoping someone can shed some light on... I have a VB.Net console application written in VS 2003 that produces a .exe file that now sits on a Windows 2000 server...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.