Introduction
This article teaches how to schedule a new job in SQL Server that can be scheduled to run at a specific time. Here we use SSMS to create and schedule a new job.
What is a SQL Job?
A SQL Job is a feature in Microsoft SQL Server that allows you to automate the execution of one or more SQL scripts or other tasks on a scheduled basis or in response to specific events.
SQL Jobs are created using SQL Server Management Studio (SSMS) or Transact-SQL (T-SQL) scripts and can be scheduled to run at specific times or intervals, such as daily, weekly, or monthly. They can also be configured to run in response to events such as system startup, database backup completion, or the completion of another SQL job.
SQL Jobs can be used for a variety of purposes, such as database maintenance tasks, data integration, or report generation. They can be a valuable tool for improving the efficiency and consistency of your database management tasks. Some examples of SQL Jobs are automatic weekly backup, sending auto emails, newsletters, writing log files, and audit logs.
Getting Started
First of all, start SQL Server Management Studio. Expand the Databases node and select a database you want to use to create and schedule a job from.

How do we Create a Job in SQL?
For this database, I am going to create a job and schedule that job.
Now click on SQL Server Agent and select "Jobs", and right-click and click on "New Job".

As you can see, there are many steps, so let's go one by one. First, provide a job name and description and click "OK".
General Tab

Now click on "Next". The step name is Steps and provides a name, type and select the database and write a command to save in a location and click "OK".
Steps Tab

Now click on the "Schedules" tab and, provide name, type, frequency, and click "OK".
Schedules Tab

Now click on the alerts tab and, click on the "Add" button and, provide the alert name, type, database name, and click "Ok".
Alerts Tab

Now click on the notifications tab and select how you want notifications.
Notifications Tab

The final tab is the "Targets" tab which shows you the options of the target server; you can also select multiple target servers.
Targets Tab

Summary
In this article, we learned how to create a new job in SQL Server.

Kirk-Patrick BrownPosted May 10, 2021, 3:13 AM
Good article
Jin NecesarioPosted Aug 21, 2019, 5:26 AM
Nice article.
Pankajkumar PatelPosted Aug 16, 2019, 12:56 AM
Nice article
amit poddarPosted Sep 21, 2017, 5:31 AM
Can we create SQL JOB and schedule it Using T-SQL
Megha MisraPosted Jul 13, 2017, 1:43 PM
Will this send an email notification? I want to try with MVC
suraj BhoirPosted Jun 9, 2017, 12:59 AM
Thanks Raj Kumar sir ur job schedule blog very usefull for me
Raphael CarneiroPosted Feb 29, 2016, 1:19 PM
Very usefull
Vipan SharmaPosted Feb 10, 2016, 6:53 AM
thnx
dawood abbasPosted Apr 15, 2015, 6:55 AM
can we create schedule other than backup? mean auto check column values and change its value...like this