windows - Which "platform" should we use for a notifier-component? -


We need to develop a pointer component.

We are running on Windows, and so what we will do, to scan a database on the given interval (say, every 15 minutes) to see if any notifications are sent needed. We are looking at either a Windows service or a Windows Task Scheduler.

Our biggest concern is that the strength of our implementation is that if it crashes for some reason, can it restart the next interval automatically? Can we use custom logging logic to take care of crashes?

What educated guess was given to me here :) Do you think that if you want additional information, to guess this

The props will be given, if any window service versus the windows task scheduler can make a brief list of professionals. Also, it should be noted that we are not set to any of these, so please post if you have any options.

Thank you in advance :)

If your application does not need to run continuously , There are some advantages to using the task scheduler. It is easy to set up and you can configure your application, execute its query, send notifications of it to run every 15 minutes , Schedule their next run and can shut down However, given the 15-minute interval, you can be better off implementing it as a Windows service because terminating and ending the process can not often deny the benefits of running it continuously.

Windows Service

Benefits

  • Automatically can be configured to restart (Service Manager Control Cell Properties can be configured to run in the context of a different user account
  • can be started remotely, stopped
  • No one is going to continue running even when not logged in
  • losses

    • for installation Height requirement
    • runs continuously, which can be beneficial or not

    task scheduler

  • Can be configured to run in the context of a different user account
    • With complex challenges, you can configure to run on your choosing schedule

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -