package instantiation

  • Hi ALL,

    My problem is when file come in to the folder i need to execute a package.Files will come every one hour in a day.I need to run pacakge every five minutes.So for that i need multiple instantiation of a package if the package already in process.If new files come i need to execute once again separately.Any idea on this?

    Thanks & Regards,

    Ramu

  • Here is something that you can try....

    1. Create a sql job of OS command type.

    2. Write the below command:

    Start cmd /c dtexec /f "[package name]"

    This command will call a create command shell (asynchronously) and will call the dtexec to execute your package. While the package is executing the job will get completed.

    -Vikas Bindra

  • You might investigate using the file watcher task - check this thread for more details:

    http://www.sqlservercentral.com/Forums/Topic493253-148-1.aspx

    Phil

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply