c# - Hourly collection of files across network -
i'm working on application in c# allow user select 1 or more networked drives or computers , collect data logs folder (folder location same on drive/pc) files must collected hourly, @ 10am application collect data logs of 9am each designated folder..
i'd occur in separate thread automatically on hour, every hour long application running in background. issue have not familiar how set timer/hourly system thread can made , run hourly. if has advise or ways perform please let me know.
*i'm looking options coded this, distributed 40 or 50 different pcs
use windows task scheduler invoke program. make sure don't miss invocations, code invoked @ right time , can deploy next version of tool using xcopy.
i think can retry failed jobs, send error reports , such.
you can script task using .bat-file or create using c#. mass-deployable.
Comments
Post a Comment