Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows service schedule Pin
Shameel25-Nov-09 7:57
professionalShameel25-Nov-09 7:57 
GeneralRe: Windows service schedule Pin
Shameel25-Nov-09 2:52
professionalShameel25-Nov-09 2:52 
GeneralRe: Windows service schedule Pin
Covean25-Nov-09 3:33
Covean25-Nov-09 3:33 
GeneralRe: Windows service schedule Pin
Shameel25-Nov-09 4:05
professionalShameel25-Nov-09 4:05 
GeneralRe: Windows service schedule Pin
PIEBALDconsult25-Nov-09 6:45
mvePIEBALDconsult25-Nov-09 6:45 
GeneralRe: Windows service schedule Pin
PIEBALDconsult24-Nov-09 6:24
mvePIEBALDconsult24-Nov-09 6:24 
GeneralRe: Windows service schedule Pin
Covean24-Nov-09 21:03
Covean24-Nov-09 21:03 
AnswerRe: Windows service schedule Pin
Abhishek Sur24-Nov-09 4:56
professionalAbhishek Sur24-Nov-09 4:56 
What is the problem with it.

Just use
Thread.Sleep , to sleep the current thread for a time which wakes up only at 12:00 AM. Calculate the time seed needed from current time to this time, and sleep for that. Now reset the seed for 24 hrs and apply thread.sleep again (infinitely)

If the process restarts again, it will do the calculation to find the sleep value.

Big Grin | :-D

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

GeneralRe: Windows service schedule Pin
Covean24-Nov-09 5:07
Covean24-Nov-09 5:07 
GeneralRe: Windows service schedule Pin
PIEBALDconsult24-Nov-09 6:44
mvePIEBALDconsult24-Nov-09 6:44 
GeneralRe: Windows service schedule Pin
Covean24-Nov-09 21:06
Covean24-Nov-09 21:06 
GeneralRe: Windows service schedule Pin
PIEBALDconsult24-Nov-09 6:40
mvePIEBALDconsult24-Nov-09 6:40 
GeneralRe: Windows service schedule Pin
Abhishek Sur24-Nov-09 9:18
professionalAbhishek Sur24-Nov-09 9:18 
AnswerRe: Windows service schedule Pin
Eddy Vluggen24-Nov-09 4:58
professionalEddy Vluggen24-Nov-09 4:58 
GeneralRe: Windows service schedule Pin
David Skelly24-Nov-09 6:14
David Skelly24-Nov-09 6:14 
GeneralRe: Windows service schedule Pin
Eddy Vluggen24-Nov-09 7:01
professionalEddy Vluggen24-Nov-09 7:01 
GeneralRe: Windows service schedule Pin
Priya Prk25-Nov-09 0:58
Priya Prk25-Nov-09 0:58 
GeneralRe: Windows service schedule Pin
David Skelly25-Nov-09 2:52
David Skelly25-Nov-09 2:52 
GeneralRe: Windows service schedule Pin
Shameel25-Nov-09 3:57
professionalShameel25-Nov-09 3:57 
GeneralRe: Windows service schedule Pin
PIEBALDconsult25-Nov-09 7:21
mvePIEBALDconsult25-Nov-09 7:21 
Questioncreate 32 bit process from 64 bit application Pin
jsjwql12324-Nov-09 3:17
jsjwql12324-Nov-09 3:17 
AnswerRe: create 32 bit process from 64 bit application Pin
Dave Kreskowiak24-Nov-09 3:47
mveDave Kreskowiak24-Nov-09 3:47 
GeneralRe: create 32 bit process from 64 bit application Pin
Paulo Zemek24-Nov-09 5:13
Paulo Zemek24-Nov-09 5:13 
GeneralRe: create 32 bit process from 64 bit application Pin
Dave Kreskowiak24-Nov-09 5:56
mveDave Kreskowiak24-Nov-09 5:56 
QuestionCombobox with Tooltip when mouse is moved over the items. Pin
hariakuthota24-Nov-09 2:55
hariakuthota24-Nov-09 2:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.