Luigi,
I definitely think it is better to create the web service client app and
run it through windows scheduler. To have a service run and do nothing for
the majority of the time is just wasteful.
You might have to schedule the app to run for the lowest common
denominator, and then do a conditional check in your code based on whether
or not you want it to run (as you listed some conditions), but this isn't
too hard to do.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"BLUE" <bluewrote in message news:uv**************@TK2MSFTNGP02.phx.gbl...
I've to call 2 web method from time to time so that the web service will
do cleanup and sync jobs on a database.
These methods can be called once every X days where X >= Y for the sync
method and X >= Z Y for the cleanup method with Y and Z specified by the
user in the app.config file.
Is it best to create a web service client app and schedule it with Windows
Scheduler or to create a web service client Windows Service that will use
a timer to call the web methods?
Thanks,
Luigi.