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

  • Home
  • SEARCH
  • 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 856009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T08:10:15+00:00 2026-05-15T08:10:15+00:00

We need to develop a notifier component. What it will do, is to scan

  • 0

We need to develop a notifier component. What it will do, is to scan a database at given intervals (say, every 15th minute), to see if any notifications needs to be sent out.

We’re running on Windows, and so we’ve been looking into either a Windows Service or the Windows Task Scheduler.

Our biggest concern is the robustness of our implementation. If it, for some reason, crashes, can it be auto-restarted the next interval? Can we use custom logging logic, to take care of crashes?

I’d like an educated guess on what to use here 🙂 Feel free to say if you need additional info, to make such a guess..

Props will be given if someone could make a short listing of the pros n cons of a windows service vs. the windows task scheduler. Also, it should be noted, that we aren’t set on either of these, so if you have any alternatives, please, do post away.

Thanks in advance 🙂

  • 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-05-15T08:10:16+00:00Added an answer on May 15, 2026 at 8:10 am

    If your application doesn’t need to run continuously, there are some advantages to using the task scheduler. It’s somewhat easier to setup and you can configure your application to run every 15 minutes, execute it’s query, send out its notifications, schedule its next run and shut down. Given the 15 minute interval, however, you may be better off implementing this as a Windows Service since the overhead of spawning and terminating the process so often may negate the benefits of not having it running continuously.

    Windows Service

    Advantages

    • Can be configured to restart automatically (see the properties of a service in the Service Manager control panel app)
    • Can be configured to run in the context of a different user account
    • Can be remotely started, stopped
    • Continues to run even if no one is logged on

    Disadvantages

    • Needs elevation for installation
    • Runs continuously which may or may not be advantageous

    Task Scheduler

    Advantages

    • Can be configured to run on a schedule of your choosing including complex schedules
    • Can be configured to run in the context of a different user account

    Disadvantages

    • If one invocation fails, you’ll have to wait until the next invocation, or implement logic to adjust scheduling appropriately
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to develop a service that will perform login through several login providers
I need to develop an IMAP poller which pings an email server every few
I need to develop a game server that will run periodically (e.g., triggered by
I need to develop a lightweight web application, it will: have a simple webgui
I need to develop a joomla component but I got confused on defining which
I need to develop a drag-able and editable tree view. Any javascript components to
I need to develop image zoom-in functionality with JavaScript and HTML5. Which strategy will
I need to develop an app in C# that is like the Restore Database
I need to develop an application that will check whether the phone is in
I need to develop more Gadgets in the same plugin, the gadgets will look

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.