Attila,
If you go the Timer route remember there are Three timer classes in .NET
System.Windows.Forms.Timer
System.Threading.Timer
System.Timers.Timer
Based on your description I would consider creating a Windows Service
project which is where Threading.Timer or Timers.Timer would be the better
choice.
Rather than make the timer logic unique to my program I would consider
making it a standalone program that interacted with mine, so when I needed
to control multiple programs I would only have 1 scheduler and multiple data
pulls. Of course this would probably be a Windows Service.
I would consider using the Task Scheduler if the data pulls occurred
somewhat infrequent (once a day, week, month). Rather than make my program
run all week for a 5 minute data pull. Of course if my data pull was a
service than I would look at Threading.Timer or Timers.Timer...
Hope this helps
Jay
"Attila" <at******@hotmail.com> wrote in message
news:ZH***************@twister.rdc-kc.rr.com...
Hi.
I am looking for a site or some coding ideas to run specific subs or
programs at certain times and/or dates.
For example, I would like to automate pulling data via ADO(.NET) at 6 am,
on the 21st of every month.
The only thing that I could think of was to set a timer control to fire
every few seconds to check date and time. I was hoping there was a better
way to do this without using the Task Scheduler or a product such as
Automate 5.
I have googled for hours without much luck.
Any direction is greatly appreciated.
Attila