Solved

SQL Server 2000 - Schedule a Job?

Posted on 2006-07-11
1
261 Views
Last Modified: 2006-11-18
I'm going to be creating a few triggers on tables to add new records to a seperate table (AlertData).  Come 6pm or so I want a scheduled job to automaticaly run to make an HTTP wbe request to my SendAlerts.ASPX page.  The page will simply make a database call for all users and the AlertData table contents, build what it needs and send out all the email alerts.

My question is is how do i create such  a scheduled job under Sql Server 2000?  It should run everyday at 6pm EST (even if the dbase server is restarted)  and make an HTTP web request to my URL.

Thank you.
0
Comment
Question by:barkin
1 Comment
 
LVL 18

Accepted Solution

by:
Sham Haque earned 25 total points
ID: 17089345
set this up as a job in Enterprise Manager - there are scheduling options there too:

How to create a job (Enterprise Manager)
To create a job

Expand a server group, and then expand a server.


Expand Management, and then expand SQL Server Agent.


Right-click Jobs, and then click New Job.


In the Name box, enter a name for the job.


Clear the Enabled check box if you do not want the job to be run immediately following its creation. For example, if you want to test a job before it is scheduled to run, disable the job.


Under Source, do one of the following:
Click Target local server if the job should run on this server only. Skip to Step 9 if you select this option.


Click Target multiple servers if the job should run on other servers. Then click Change.
This option is enabled only if the server is a master server.

In the Change Job Target Servers dialog box, on the Available Servers tab, click a server, and then click the right arrow to move the server to the Selected target servers list.


Click OK to return to the New Job Properties dialog box.


In the Owner list, select a user to be the owner of the job.


In the Description box, enter a description of what the job does. The maximum number of characters is 512.

 
Important  Each job must have at least one step. A step must be created with the job before the job can be saved. For more information, see Creating Job Steps.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how the fundamental information of how to create a table.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now