|
-
Jan 8th, 2016, 11:45 AM
#1
Thread Starter
Hyperactive Member
Windows Service
Howdy all,
I have done single windows service applications before but this time I want to expand my knowledge on windows services but kinda got stuck. I am confused where to start on this project of mine but basically I want to be create an application that can create / delete windows service(s) that are related to the application itself. Each service in the application is able to watch a directory and based on the parameters that are set for the service, it will be able to delete the files on it
For example, the application is called GS.
The first task of it is to create the following:
1. service to be called GS:Service1 and its task is to watch C:\TestOne\ and delete all text files in this directory that are older than 7 days
2. service to be called GS:Service2 and its task is to watch D:\TestSample\Dir\ and delete all files and subdirectories on there that are older than 3 months
Once the services are created in the app, you will be able to see the service status on the app where you can start / stop the service as well as modify the parameters that was set on it.
I have no problem in creating just a static service but I have a problem creating multiple services Can anyone point me in the right direction please? Really would appreciate any help on this.
Thanks in advance,
Greyskull
Please go to the Thread Tools menu and click Mark Thread Resolved when your post is answered 
If someone helped you today then please consider rating their post.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|