I need a timer of some sort so that my program will send a batch of files every 10 seconds. Not sure if I can do this using threading? or maybe theres some other method. Just looking some advice as to what would be the best option. At the minute all the files that are to be sent to the database are stored in an array. Its 4 files at a time that need to be sent every 10 seconds. Thanks in advance

What type of program is going to host this?

Personally I prefer a tool like Quartz, but you can use a regular timer.

Does Quartz works normally with ASP.NET? I mean, if on Page_Load I set up a timer for 30 seconds, will it be triggered even if the HTTPResponse has already ended? Or it does not let the response end?
Just curious ^^

I usually run it as a service, but if you set it up in the global.asax it should keep running.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.