9

I have created a (SSIS) package which contains SQL procedures for transfer of data from tables. It is in .dtsx format as per SSIS package. Now how to add this to a schedular so that it runs automatically after every 3 months. I am unable to get any information through google.

The windows also has a scheduler but it runs only .exe files through scheduler. Can I convert between .dtsx to .exe?

Also how to add this to the SQl server scheduler? Please help. Any link will be useful also.

JavaBits
  • 2,005
  • 11
  • 36
  • 40

3 Answers3

6

You can run your SSIS package using dtexec command like from dos command prompt

dtexec /f %PackagePath%\%PackageName% /conf %PackagePath%\%ConfigName%

you just add this command to a batch file (.bat) and have that scheduled in your scheduler.

Check this link on DTEXEC utility

http://msdn.microsoft.com/en-us/library/ms162810.aspx

Hope this helps.

Rahul
  • 76,197
  • 13
  • 71
  • 125
2

An other solution is to schedule the packages through SQL Server agent and creating a job so that you can scedule it once in 3 months.

Dibin
  • 1,508
  • 1
  • 15
  • 19
2

You may also schedule your SSIS package using the following files:

"C:\Program Files\Microsoft SQL Server\120\DTS\Binn\DTExec.exe" /f   
"D:\Package.dtsx"
shapiro yaacov
  • 2,308
  • 2
  • 26
  • 39
Manisha Agarwal
  • 101
  • 1
  • 3
  • 10