sp_sjobcreate and sp_sjobmodify include the continuous_run parameter, which allows you to execute jobs from a starting time and have them run according to specified intervals until an end time.
sp_sjobcreate @name='jsname', @options='server . . . sproperties = continuous_run . . . '
sp_sjobmodify @name='...', sproperties ='continuous_run'
where continuous_run indicates that you are scheduling a job that runs at the scheduled times during the specified interval.
sp_sjobcreate 'sjname=sjob', @option='repeats=10minutes, startdate=14 May 2012,enddate=16 May 2012,starttime=02:00pm, endtime=04;00pm,sproperties=continuous_run’
sp_sjobcreate 'sjname=sjob1', @option=’repeats=10minutes, startdate=14 May 2012,enddate=16 May 2012,starttime=02:00pm,endtime=04;00pm'
sp_sjobmodify 'sjname=sjob1', @option='sproperties=continuous_run'
sp_sjobcreate 'sjname=sjob', @option='repeats=2hours,startdate=14 May 2012,enddate=20 May2012,starttime=02:00pm,endtime=06:00pm, days=Monday:Wednesday:Friday,sproperties=continuous_run'
sp_sjobcreate 'sjname=sjob', @option='repeats=4hours,startdate=1 May 2012,enddate=5 May 2012,starttime=02:00pm,endtime=07:00pm,dates=1:3, sproperties=continuous_run'
sp_sjobcreate ‘sjname=sjob’, @option=’repeats=1day,startdate=14 May 2012,enddate=16 May 2012,starttime=02:00pm,endtime=04:00pm, sproperties=continuous_run'
sp_sjobcreate 'sjname=sjob', @option='repeats=25hours,startdate=14 May 2012,enddate=16 May 2012,starttime=02:00pm,endtime=04:30pm, sproperties=continuous_run'