What type of project file and how to run via schedule

dba123

Member
Joined
Jan 31, 2006
Messages
8
Programming Experience
5-10
I have to run some VB.NET functions that takes an incoming txt file and manipulates it using System.IO namespace and classes such s FileStream, StreamReader, etc.
I just don't know which type of VS Project to code this in and then deploy it to run on our server every night via schedule.
 
Since you don't need a GUI a console application suits fine.

There is little VB.Net code for the Windows Task Scheduler, I found this wrapper (not tested) http://www.mvps.org/emorcillo/en/code/shell/tasksched.shtml
(if this is a one time operation, why not just enter the schedule manually after the application is installed to server?)

Another option could be a tray application that uses the FileSystemWatcher to act when txt file created/changed.
 
whoops

whoops, I meant to paste that last one in a new thread. Thanks for your Inputs John, helped me a lot!
 
Back
Top