Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to schedule a SSIS package job in SQL sheduler or Windows scheduler?

Tags:

ssis

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.

like image 524
JavaBits Avatar asked Nov 10 '11 12:11

JavaBits


1 Answers

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.

like image 102
Rahul Avatar answered Oct 08 '22 00:10

Rahul