Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • Last Modified:

Running something 24 hours a day

If I am constructing a system that runs 24 hours a day......what is the best way to do this?

Are things like this run as web services....or just normal services (what are the different "kinds" of services I can write?)

Also....I will want to run silently in the background (as inobtrusively as possible).....but still have some sort of GUI (windows form) that I can invoke.....to shut it down or configure a setting.....
0
Tom Knowlton
Asked:
Tom Knowlton
  • 4
  • 3
2 Solutions
 
Tom KnowltonWeb developerAuthor Commented:
Hmmmm......sort of sounds like a system tray icon......

?????
0
 
Tom KnowltonWeb developerAuthor Commented:
I mean...I think I am describing a windows app that runs from the system tray.....
0
 
millsoftCommented:
I suggest running it as a service.  You can run EXEs as services and start/stop them remotely.  Usually the settings are stored in the registry, and managed with a separate app that tweaks the values in the registry.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Tom KnowltonWeb developerAuthor Commented:
>>>I suggest running it as a service.  You can run EXEs as services and start/stop them remotely.  Usually the settings are stored in the registry, and managed with a separate app that tweaks the values in the registry.


Any code samples that show a very basic  "hello world" for such an architecture....something I can use to get started?
0
 
TransBindCommented:
0
 
Tom KnowltonWeb developerAuthor Commented:
Also....if I write this as a service......with a seperate GUI (for configuration).....do I have to shut down the service before I can run the GUI?
0
 
millsoftCommented:
No, the GUI can modify the registry without shuting down your app.  Of course, your app will either have to periodically requery the registry for the values to use, or other wise the changes would have no effect unless the service were restarted.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now