Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8665223
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:25:47+00:00 2026-06-12T17:25:47+00:00

If I need a task to run in the background once per hour, can

  • 0

If I need a task to run in the background once per hour, can I just use a Timer object which apparently will use a separate thread: http://msdn.microsoft.com/en-us/library/zdzx8wx8.aspx ?

It would seem from this that there is no need to use a BackgroundWorker for my purposes. Is this correct?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:25:48+00:00Added an answer on June 12, 2026 at 5:25 pm

    That very much depends on what your task is. The BackgroundWorker component will give you several additional features over and above the Timer, including cancellation support, progress reporting and so on. However, if you just want to kick something off every hour and don’t require anything further, then the Timer is a very lightweight choice.

    Have you researched using the Task Scheduler as another option? There’s a neat wrapper here: http://taskscheduler.codeplex.com/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a task which I need to run in the background in my
In my application I need to have periodically run background tasks (which I can
I need to run multiple task in the background using backgroundwoker e.g dim mybacgroundwokers(10)
I need to run a task in CruiseControl .NET before checking for modification in
I have a rake task I need to run as a daily job on
I have a task I need to perform, do_stuff(opts) , that will take ~1s
I need to launch call task in my wp7 app. once i launch this
I need to run a task every 10 mins from morning 9 AM to
I'm currently scheduling a background task which then queues a number of tile updates.
I have a fairly simple, though expensive, task that I need to run in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.