Techies--
I have an SSIS job that begins with a script task. The script task accepts the starting datetime and the ending datetime. For qa purposes, my plan is to begin the start datetime @ 7/1/2012 00:00:00 AM and set the end datetime @ 7/1/2012 01:00:00 AM, easy enough--for this I set the values for the sql agent job mapped to the dts variables.
Now, here is the real question: How would I automatically reschedule the sql agent job so that when I set it up to run once every hour, the range changes to add an hour from the end datetime of the last run (e.g. 7/1/2012 01:00:00 AM to 7/1/2012 02:00:00 AM) ?
Outside of QA testing, the job will normally need to do essentially the same thing--with current datetime variables.
I should mention that I am storing the previous start/end range in a control table, so I know I can update the info that way, however, I'm looking for input from the group for alternatives