Reputation: 880
i am wondering what is the best way to do this, what i am thinking of is a Dispatcher that checks for the current time and if it equals to the user specified date time then the function gets called, is there a better way to do this?
Upvotes: 0
Views: 91
Reputation: 1629
Do you have access to CRON? It should be built into your server and you should have access to it through your control panel. This is exactly what CRON was invented for.
Upvotes: 3
Reputation: 12131
Yes, no need to reinvent the wheel, use Quartz.NET instead (the library is under 500k)...
Upvotes: 3