0

I'm planning to write a .NET Windows Forms application to download data from one database to another on scheduled time. So I need select one from these two options

  1. Create a windows form with a Timer control and handle starting of download process through the code and keep application running forever on the server.
  2. Create a windows form and run downloading method on form load and use Windows Scheduler to start the program at a given time and exit the program when download is completed.

What do I have to consider selecting between above approaches and what are the advantages/disadvantages ?

NOTE: Downloading is done from multiple tables (like Item, Supplier) so there may be a requiremet to stop one or few table syncing so I guess this needs a UI.

4

2 に答える 2