Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to schedule to run a code every day on midnight.

Status
Not open for further replies.

magicmonkey1

Programmer
Mar 15, 2007
10
US
Hi Experts,
i want to create a report and email every day on midnight.
How to accomplish this task?
I am using C# and Crystal Report that comes with VS2005.
I am creating a report and saved it as pdf and then want to email this pdf as an attachement every midnight.
I know that windows service can be one of solution, but i dont know why i am not getting that how to check whether current time is 12:00 AM or not.
If any ideas please share.

Please give some suggestions.

Thanks for all your help

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top