jasonseay Posted June 18, 2003 Posted June 18, 2003 i need to send a status report email at 700 am and 700pm how can i do this without having a timer check every second to see if the time = 700. Quote
*Gurus* Derek Stone Posted June 18, 2003 *Gurus* Posted June 18, 2003 Install your application as a Sheduled Task in Windows. Quote Posting Guidelines
jasonseay Posted June 18, 2003 Author Posted June 18, 2003 reply the is going to run as a windows service and it will continually keep track of the values of certain controls and then send out emails everyday with a status report. Quote
*Gurus* Derek Stone Posted June 18, 2003 *Gurus* Posted June 18, 2003 That's fine. Using Sheduled Tasks is still the proper way of accomplishing this task. application.exe /report Run your application with a similar command line, which in turn notifies the currently running service to generate a report. You can communicate between the two instances of your application using Windows Sockets which is the method used by Microsoft and other vendors. Then again, if you choose not to use Scheduled Tasks, you'll be forced into polling the system time, which I believe is what you were trying to get away from. Quote Posting Guidelines
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.