I found this answer and I try to do follow that, but It didn’t bring me any work while I start my service. One thing that I couldn’t understand is :`_timer = new Timer(10 * 60 * 1000); // every 10 minutes
I want to perform my service daily at 10:00PM, how could I do that?
You can find out the
differencebetweencurrent timeand yourdesired schedule timeand make the elapse interval accordingly. This way the event of timerwill fire onceat the sheduled time. Set the interval of time to 24 hours when it is elapsed.