Sending Reminders.

Discussion in 'ASP .Net' started by =?Utf-8?B?aGVjc2FuMDc=?=, Mar 24, 2005.

  1. 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
     
    =?Utf-8?B?aGVjc2FuMDc=?=, Mar 24, 2005
    #1
    1. Advertising

  2. =?Utf-8?B?aGVjc2FuMDc=?=

    Brock Allen Guest

    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
    >
     
    Brock Allen, Mar 24, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kate

    sending data to 2 related tables

    Kate, Feb 9, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    384
  2. Guido van Rossum
    Replies:
    0
    Views:
    263
    Guido van Rossum
    Jan 15, 2004
  3. Replies:
    0
    Views:
    1,468
  4. Luke
    Replies:
    2
    Views:
    4,811
    Nigel Wade
    Mar 15, 2007
  5. JP SIngh

    Sending automatic reminders in ASP

    JP SIngh, Sep 14, 2004, in forum: ASP General
    Replies:
    3
    Views:
    133
    Bob Barrows [MVP]
    Sep 14, 2004
Loading...

Share This Page