Page 1 of 1

Sleep

Posted: 06 Nov 2011, 23:36
by srego
in C lang. is there a max time for the Sleep?
coz i want to have/create a program that will do:


-run A.exe

-sleep for 1 month

-run B.exe


:ugeek: sounds easy? if yes give me the code :D

if kinda hard..
then i need an ans if Sleep in C lang can be use for it :icon_question:

:smoking:

Re: Sleep

Posted: 02 Jan 2012, 09:51
by MASTALOL
so are you asking for a program that will
put a computer to sleep
force it to sleep for 1 month
then after the 1st month startup and run a program????

I am confused at what you are asking.

Re: Sleep

Posted: 09 Mar 2012, 11:11
by srego
MASTALOL wrote:so are you asking for a program that will
put a computer to sleep
force it to sleep for 1 month
then after the 1st month startup and run a program????

I am confused at what you are asking.

lol!... no mate..., not the computer to sleep the program... sry ddnt reply as the time you replied, coz im waiting for others... anyway i found a way.., putting the program to sleep, will end the program when pc shutsdown.. so it needs to write in registry... blah blah blah. :D

Re: Sleep

Posted: 09 Mar 2012, 11:24
by ChattChitto
Solved then! :)