Time Event?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • brogers5884

    Time Event?

    I'm trying to write a program (windows service in C# to be exact) that a few
    times throughout the day will raise an event to do some processing. Is there
    any event, or async callback type deal that I can put in to say that at 6am
    raise said event? I really don't want to use a timer since I've had bad luck
    with them in the past in terms of memory consumption. Any help would be
    appreciated, thank you.
  • Lebesgue

    #2
    Re: Time Event?

    You can use the windows integrated task scheduler and start your application
    in scheduled intervals. This seems to me the simplest way of doing this. I
    believe there is a way to interact with the task scheduler (to schedule
    tasks programmaticall y etc.)

    "brogers588 4" <brogers5884@di scussions.micro soft.com> wrote in message
    news:A197EAA9-EEE0-4B7E-94CC-EE2A04F396F4@mi crosoft.com...[color=blue]
    > I'm trying to write a program (windows service in C# to be exact) that a[/color]
    few[color=blue]
    > times throughout the day will raise an event to do some processing. Is[/color]
    there[color=blue]
    > any event, or async callback type deal that I can put in to say that at[/color]
    6am[color=blue]
    > raise said event? I really don't want to use a timer since I've had bad[/color]
    luck[color=blue]
    > with them in the past in terms of memory consumption. Any help would be
    > appreciated, thank you.[/color]


    Comment

    Working...