Results 1 to 9 of 9

Thread: Running a check at a certain time each day.

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 2008
    Posts
    57

    Running a check at a certain time each day.

    I am developing an application whereyby I want to run a check at 5pm each day. It will check if the next day is the due start of a project and if so send a notification email to the assigned developer, does anyone know the easiest way of doing this...thanks in advance ?

  2. #2
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Re: Running a check at a certain time each day.

    Implement a windows service and use a timer to schedule the event
    thanks
    amrita

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 2008
    Posts
    57

    Re: Running a check at a certain time each day.

    Not sure what you mean by a windows service ?

  4. #4
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Re: Running a check at a certain time each day.

    Windows service is a application , which doesn't have a UI but runs constantly on the background. Read about creating windows service using vb.net.This link may help...

    http://www.developerfusion.com/artic...ce-in-vbnet/2/
    thanks
    amrita

  5. #5

    Thread Starter
    Member
    Join Date
    Oct 2008
    Posts
    57

    Re: Running a check at a certain time each day.

    Sounds good but can I incorporate it into the Windows Application that I am currently developing or do I have to develop Windows Service seperately ?

  6. #6
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Re: Running a check at a certain time each day.

    Develope windows service as a separate project.It can be in the same solution as the windows application.
    thanks
    amrita

  7. #7

    Thread Starter
    Member
    Join Date
    Oct 2008
    Posts
    57

    Re: Running a check at a certain time each day.

    Okay, i'll give it a go, thanks for your help.

  8. #8
    Fanatic Member amrita's Avatar
    Join Date
    Jan 2007
    Location
    Orissa,India
    Posts
    888

    Re: Running a check at a certain time each day.

    Sure ....and let me know if there are any issues...
    thanks
    amrita

  9. #9
    PowerPoster
    Join Date
    Mar 2002
    Location
    UK
    Posts
    4,780

    Re: Running a check at a certain time each day.

    There is no point in re-inventing the wheel if you are only doing this once. You already have a built-in scheduler in windows that can do the action part at x'o clock every weekday, you can write a small app that does the email part seperately and not have to have another windows service taking up processing time when you already have one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width