Solved

SQL Server 2000 - Schedule a Job?

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
sql update 2 37
SQL Server Trigger 8 37
sql server cross db update 2 20
Need to replicate a Log table 4 8
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
I have a large data set and a SSIS package. How can I load this file in multi threading?
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.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

749 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