L
LP
Hi,
I developed a console application that is currently in production. It is
scheduled to run every morning (very early morning), to move files from one
server to another, update SQL db and then ftp files to a remote server.
Everything is great, but remote ftp server people, want to begin excepting
files after 9am our time, when this console app begins to run like at 3am. I
can't reschedule the app, because data needs to be in SQL before office
hours (way before 9am) I don't want to write or schedule another app either
just to ftp files . Thus the dilemma.
I am thinking suspending the thread and resuming it hours later to finish
ftp files. I have a feeling that it's a bad idea, but I can't say exactly
way. What's the best way of handling it?
I developed a console application that is currently in production. It is
scheduled to run every morning (very early morning), to move files from one
server to another, update SQL db and then ftp files to a remote server.
Everything is great, but remote ftp server people, want to begin excepting
files after 9am our time, when this console app begins to run like at 3am. I
can't reschedule the app, because data needs to be in SQL before office
hours (way before 9am) I don't want to write or schedule another app either
just to ftp files . Thus the dilemma.
I am thinking suspending the thread and resuming it hours later to finish
ftp files. I have a feeling that it's a bad idea, but I can't say exactly
way. What's the best way of handling it?