Thread: Windows Service
View Single Post
  #5 (permalink)  
Old January 11th, 2005, 05:08 PM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I agree with Peter on this. A Windows Service is great for something that has to run continuously, like a Web server, a DNS or DHCP server, Anti Virus software or that incredibly useful WinAmp tracker service... ;)

However, if you need to run some tasks at a certain interval, like send out a mailing once a day, a simple scheduled task (a VB Script, a simple (.NET) .exe, or something like that) is much better suited for the task.

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.