C# Run method in a time interval [closed]
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 3 years ago . I have this method that gets data from an api and saves it to a JSON file. How can I get the JSON file to be updated every hour on the hour. public void saveUsers() { string uri = "https://****dd.harvestapp.com/people"; using (WebClient webClient = new WebClient()) { webClient