Reputation: 4497
I want to best practise for this job.What is the best solution for run a function in every x minutes.
using a timer or thread ?
thx for your helps.
Upvotes: 1
Views: 475
Reputation: 4817
You can use a Timer or make use of Quartz.net. Quartz.NET is an open source job scheduling system.
On the site there is a Tutorial, for you feature you can use a SimpleTrigger.
Upvotes: 2