I was wondering (while a program is running) how to make a specific codes/methods to run on a pre-defined time.
Lets say every 2 minutes this codes/methods ,inside the program, would be executed while the said program is still running.
I try searching about this topic through the net , but most of the decent result that I got is about creating a timer.
I'm Using MVC6 and my OS is Win2k.
The program waits for incomming messages of sort.And It (the codes/methods mentioned) has to be a part of the same program.
Any kind help, may it be psuedo code or links, will be much appreciated.