dbTalk Databases Forums  

DTS Package Load schedule issue

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss DTS Package Load schedule issue in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom
 
Posts: n/a

Default DTS Package Load schedule issue - 04-07-2005 , 12:56 PM






We have a DTS package that loads 46 text files from an FTP
server into the database on a database server at 6:00 AM.
every morning. The files are sent to FTP server at a
various times. Even though the DTS Package is scheduled to
run at 6:00 AM, is there a way of loading the data into
the database as soon as the files are received on the FTP
server ?.

Something like trigger or script or a process that
constantly checks if the files are there and when it sees
the files, it starts to execute the DTS package to load
the database.

T.I A.

Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Package Load schedule issue - 04-07-2005 , 01:32 PM






How about, and I do this, watch for the files using a service that
incorporates the FileSystemWatcher class in .Net.

This watches for files and then fires the packages.

Allan

"Tom" <anonymous (AT) discussions (DOT) microsoft.com> wrote


Quote:
We have a DTS package that loads 46 text files from an FTP
server into the database on a database server at 6:00 AM.
every morning. The files are sent to FTP server at a
various times. Even though the DTS Package is scheduled to
run at 6:00 AM, is there a way of loading the data into
the database as soon as the files are received on the FTP
server ?.

Something like trigger or script or a process that
constantly checks if the files are there and when it sees
the files, it starts to execute the DTS package to load
the database.

T.I A.


Reply With Quote
  #3  
Old   
Tom
 
Posts: n/a

Default Re: DTS Package Load schedule issue - 04-07-2005 , 02:06 PM



Thanks........The bad news is that we don't use .NET (I
don't know why - I am not a decision maker). especially on
a production server. Is there any other solution ?

Thanks.




Quote:
-----Original Message-----
How about, and I do this, watch for the files using a
service that
incorporates the FileSystemWatcher class in .Net.

This watches for files and then fires the packages.

Allan

"Tom" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:anonymous (AT) discussions (DOT) microsoft.com:

We have a DTS package that loads 46 text files from an
FTP
server into the database on a database server at 6:00
AM.
every morning. The files are sent to FTP server at a
various times. Even though the DTS Package is scheduled
to
run at 6:00 AM, is there a way of loading the data into
the database as soon as the files are received on the
FTP
server ?.

Something like trigger or script or a process that
constantly checks if the files are there and when it
sees
the files, it starts to execute the DTS package to load
the database.

T.I A.

.


Reply With Quote
  #4  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: DTS Package Load schedule issue - 04-07-2005 , 02:26 PM



Some job schedulers have it.
WMI has it.


"Tom" <anonymous (AT) discussions (DOT) microsoft.com> wrote


Quote:
Thanks........The bad news is that we don't use .NET (I
don't know why - I am not a decision maker). especially on
a production server. Is there any other solution ?

Thanks.




-----Original Message-----
How about, and I do this, watch for the files using a
service that
incorporates the FileSystemWatcher class in .Net.

This watches for files and then fires the packages.

Allan

"Tom" <anonymous (AT) discussions (DOT) microsoft.com> wrote in
message
news:anonymous (AT) discussions (DOT) microsoft.com:

We have a DTS package that loads 46 text files from an
FTP
server into the database on a database server at 6:00
AM.
every morning. The files are sent to FTP server at a
various times. Even though the DTS Package is scheduled
to
run at 6:00 AM, is there a way of loading the data into
the database as soon as the files are received on the
FTP
server ?.

Something like trigger or script or a process that
constantly checks if the files are there and when it
sees
the files, it starts to execute the DTS package to load
the database.

T.I A.

.



Reply With Quote
  #5  
Old   
Simon Worth
 
Posts: n/a

Default Re: DTS Package Load schedule issue - 04-12-2005 , 12:46 PM



We do something similar where we fire off a job every hour to check the
existence of files on a network share, then if any are there, it
executes a dts package to load them and archive them.

Simon Worth

Tom wrote:
Quote:
We have a DTS package that loads 46 text files from an FTP
server into the database on a database server at 6:00 AM.
every morning. The files are sent to FTP server at a
various times. Even though the DTS Package is scheduled to
run at 6:00 AM, is there a way of loading the data into
the database as soon as the files are received on the FTP
server ?.

Something like trigger or script or a process that
constantly checks if the files are there and when it sees
the files, it starts to execute the DTS package to load
the database.

T.I A.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.