Problem Definition: To create a scheduler that will run a process based on the scheduled time. (I am not supposed to use windows task scheduler)
I have an XML that contains scheduling data.
Process A will run at Time t1.
Process B will run at Time t2.
My Approach: I am coming up with a Windows Service for this scheduler in MFC. It will read the XML at start up. Run the process at that particular time.
Need inputs for:
1. I want to make sure if my approach is fine to build this scheduler.
2. At the implementation level, do I need to create a thread for Process A to run at time t1?
3. In case I change the scheduling time in XML, can i somehow trigger this windows service to read the XML again without system restart?
Please provide your inputs/concerns regarding the design/implementation or point me to the links that can help me with this.