Solved

SQL Server 2000 - Schedule a Job?

Posted on 2006-07-11
1
284 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Slow Connectivity over ODBC 8 38
How to share SSIS Package? 6 37
sql select record as one long string 21 24
SQL Server: Unable to remove duplicate sets in Header/Detail 6 25
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

803 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