c# - windows service vs scheduled tasks -


so first stint programmatically creating windows service or scheduled tasks , confused 1 choose. had @ various articles http://weblogs.asp.net/jgalloway/archive/2005/10/24/428303.aspx , scheduled task or windows service , more can' t decide btween two

here scenario :

my application pick code paths of few dlls db , execute dlls using mstest.exe , log results db. repeated every 2-3 hours . leaning bit towards scheduled tasks since won't have worry memory related issues need expert advice on this.

p.s. : dlls contain test methods make calls web services of applications deployed on various servers

thanks in advance help

a scheduled task more appropiate scenario. don't think make lot of sense building scheduling mechanism on windows service when os provides scheduling infraestructure.

a windows service more appropiate processes have respond events @ moment , not @ specific , fix periods. that's why running time. example of sql server service.

an exception of task needs run every second or so. in corner case, window service best solution. specific schedule, have no doubts scheduled task fit more better.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -