I'm trying to find a way to trigger a Silverlight event to occur at a specific time of the day. The app will be run out of browser and will be running all the time. I have found some methods that use a timer to fire an event every minute and then check if it is the correct time to do something, but that sounds messy. Is there some way of firing an event at, for example, 10:34AM on 23 September 2010?
If you want timer to survive application restart I suggest use polling and persist scheduled tasks somewhere.
Otherwise just set timer interval to timespan between current and scheduled time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With