By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,865 Members | 1,717 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,865 IT Pros & Developers. It's quick & easy.

Sending Reminders.

P: n/a
I want to write an App to schedule tasks. I need some ideas on how to send
reminders to users about their tasks. I should work pretty much like an
scheduler. Any ideas how I can accomplish this?

HS
Nov 19 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Someone else asked essentially the same question 2 threads ago. Here's my
reply:

You can use the windows scheduler to do this from the operating system. Or
to do it programmatically, you could use a Timer:

// start now and fire every 60 seconds
Timer MyTimer = new Timer(new TimerCallback(Callback), null, 0, 1000 * 60);

static void Callback(object o)
{
// send emails
}

Note, you must keep the reference to the Timer alive, otherwise it gets GC'd
and won't fire anymore. So, make MyTimer a static variable.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I want to write an App to schedule tasks. I need some ideas on how to
send reminders to users about their tasks. I should work pretty much
like an scheduler. Any ideas how I can accomplish this?

HS


Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.