Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / March 2008

Tip: Looking for answers? Try searching our database.

next run date

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ronnie - 10 Mar 2008 21:01 GMT
I am setting up a new job that will run weekly. However, after setting up the
job the "NEXT RUN DATE" does not display. If I set up this job on another
server this date does get displayed. What might be the reason for this
behavior?
Anith Sen - 10 Mar 2008 21:17 GMT
Can you post the results of the following query here:

SELECT * FROM msdb..sysjobschedules s1
WHERE EXISTS ( SELECT * FROM msdb..sysjobs s2
                WHERE s2.job_id = s1.job_id )
                  AND s2.name = <jobname> );

Replace <jobname> with the name of your job.

Signature

Anith

ronnie - 10 Mar 2008 21:43 GMT
Hi,

Below are the results:

schedule_id job_id                                                     name    
 enabled
-----------     ------------------------------------                     
-----    -----------
37     DE69831F-F6EA-4E71-89B3-6542F82A8D2F  test    1

freq_type    freq_interval    freq_subday_type    freq_subday_interval
-----------    -------------    ----------------    --------------------
8             4                                   1             0

freq_relative_interval    freq_recurrence_factor  
active_start_date    active_end_date
----------------------    ----------------------     
-----------------    ---------------
0                  1                      20080310    99991231

active_start_time    active_end_time    next_run_date    next_run_time
-----------------    ---------------    -------------    -------------
100000                   235959                   0                   0

date_created
-----------------------
03/10/2008 15:27:27.27

> Can you post the results of the following query here:
>
[quoted text clipped - 4 lines]
>
> Replace <jobname> with the name of your job.
ronnie - 11 Mar 2008 13:46 GMT
I see that the next_run_date and     next_run_time is not getting inserted into
the sysjobschedules table in msdb database after I create the job. What might
be the reason that this is not getting inserted? This works correctly on
other servers. Is this a permissions issue?

Thanks in advance.

> Hi,
>
[quoted text clipped - 32 lines]
> >
> > Replace <jobname> with the name of your job.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.