madcolor
madcolor

Reputation: 8170

win service or scheduled task to Periodically Call a Web Service?

I have a web service which I would like to call on a scheduled basis. Currently, I have a scheduled task setup to execute the call. Here's a link Jon Galloway's post on the topic.

I'm planning to switch this out with a Win Service, simply to appease my boss, but I'm wondering what the advantages are (aside from keeping my job ;).

I personally like the script method due to its simplicity, but am curious to know what I'm missing over a Win Service approach..

Upvotes: 2

Views: 3871

Answers (1)

John Saunders
John Saunders

Reputation: 161773

Reliability is higher with a Windows Service. It can be set to start when the system starts, and to restart automatically if it fails.

Upvotes: 1

Related Questions