Need You Idea

  • Thread starter msnews.microsoft.com
  • Start date
M

msnews.microsoft.com

Hi Every One,

I put a question befor about auto email alters,
I got the answer that build a window service that auto email to the users.
But How Service Execute. Means Window Service has methos like OnStart() and OnStop().
Starts execute when the service is started.
But mostly servers starts one time and never shutdowns.
Then how can i execute it.
Actualy Our Scenario is We want to atuo emil to the registered user on every monday morning.
So How can i implement it.
Any Idea...

Waiting your answer
Regards,
Muhammad Jamil Nawaz
 
G

Grant Merwitz

First thing that comes to mind.
Use windows scheduler.

Create an exe that when excuted will perform your task
Then set windows scheduler to execute this once a week at a given time.
To find the scheduler go:
start --> Control Panel --> Scheduled Tasks --> Add Scheduled Tasks

Hope that helps
Hi Every One,

I put a question befor about auto email alters,
I got the answer that build a window service that auto email to the users.
But How Service Execute. Means Window Service has methos like OnStart() and OnStop().
Starts execute when the service is started.
But mostly servers starts one time and never shutdowns.
Then how can i execute it.
Actualy Our Scenario is We want to atuo emil to the registered user on every monday morning.
So How can i implement it.
Any Idea...

Waiting your answer
Regards,
Muhammad Jamil Nawaz
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,999
Messages
2,570,243
Members
46,836
Latest member
login dogas

Latest Threads

Top