.net - Suggestions to run a program every specific period of time -


there program crawls , index documents stored in sharepoint. need run every period of time. of suggestions had:

  • transfering application windows service , schedualing run every period.
  • having program trigger application every period of time.

which of 2 ways consider more efficient. other suggestions pretty welcome. thank you.

if program simple enough, use windows' task scheduler run periodically (your option #2). there no need write windows service this.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -