Solved

Scheduling Jobs for Execution:

Posted on 2016-11-25
4
29 Views
Last Modified: 2016-11-25
Hi experts

i am reading about Scheduling Jobs for Execution:
what's the mean?, can you give me an example?
.One job can have multiple schedules
.Multiple jobs can share one schedule
0
Comment
Question by:enrique_aeo
  • 2
4 Comments
 
LVL 65

Assisted Solution

by:Jim Horn
Jim Horn earned 250 total points
ID: 41901906
That would be SQL Server Agent, where you can create 'jobs' to run whatever executible / SQL Script / SSIS Package you wish, and then set a schedule of when it should be executed.  The schedules can be saved and reused in different jobs.
0
 
LVL 25

Assisted Solution

by:Mohammed Khawaja
Mohammed Khawaja earned 250 total points
ID: 41901908
What you could do is schedule a job to run lets say on a daily basis and then have the task repeat every hour.

Multiple jobs share the same schedule if you configure them to start at the same time.
0
 

Author Comment

by:enrique_aeo
ID: 41901950
.Multiple jobs can share one schedule. it is OK

what's the mean?, can you give me an example?
.One job can have multiple schedules
0
 
LVL 25

Accepted Solution

by:
Mohammed Khawaja earned 250 total points
ID: 41901979
Here is an example for you.  Lets say you have SQL database where you want to backup the database once a day and the logs every 30 minutes so that your RPO is 30 minutes.

For the database backup, it is simple as you schedule it "scheduling tape of Recurring", frequency to daily, to recur every 1 day and daily frequency to once.
For the logs backups, you do exactly the same but under daily frequency, you choose the option "occurs every" and set it to 30 minutes.
recurring.jpq.png
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Hi all, It is important and often overlooked to understand “Database properties”. Often we see questions about "log files" or "where is the database" and one of the easiest ways to get general information about your database is to use “Database p…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

680 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