July 7, 2005 at 1:59 pm
This is little annoying that the next_run_time in sysjobschedules is not showing correct time but it is shwing correctly in Enterprise Manager.
I have a job scheduled every minute and takes less than sec to complete. Now when I was trying to generate report from sysjobschedules, the next_run_time is showing 10 minutes previous time , but the job ran successfully every minute in this time.
After waiting for 20 minutes, it is correctly showing next_run_time for the minute and then it is not refreshed next minute.
My question is how often information is upadted in sysjobschedules? How EM is showing correct next_run_time?
July 8, 2005 at 12:29 am
EM uses SQL-DMO which always requires refresh for everything, so the answer to your question is:
Whenever you choose the refresh context menu item on the object you want to see the latest values for.
Andy
July 8, 2005 at 7:41 am
You mean EM SQL DMO is also not reading data from next_run_time column in sysjobschedules?
How can I get the correct next_run_time data similar to EM? I want to generate timely report of job statuses.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply