Sleep

A Place For Programmers Of All Levels To Discuss Programming & Web Building.

Moderator: Community Moderator

Locked
User avatar
srego
Warrant Officer
Warrant Officer
Posts: 399
Joined: 23 Nov 2010, 03:55
Location: land were no gods
Has thanked: 3 times
Been thanked: 5 times

Sleep

Post 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:
Image
Image
User avatar
MASTALOL
First Adjutant
First Adjutant
Posts: 303
Joined: 16 Jun 2010, 17:59
Location: SC
Has thanked: 2 times
Been thanked: 1 time
Contact:

Re: Sleep

Post 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.
We All Can't Save The World, Someone Needs To Sit On The Curb And Cheer The Hero's On

If you find any links Dead in my posts, Please take a moment to PM me, I will fix them!

Check out My Upload List!

Dropbox - Simplify your life Join Now!
Image
Voted The BEST Cloud Storage!
User avatar
srego
Warrant Officer
Warrant Officer
Posts: 399
Joined: 23 Nov 2010, 03:55
Location: land were no gods
Has thanked: 3 times
Been thanked: 5 times

Re: Sleep

Post 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
Image
Image
User avatar
ChattChitto
Site Admin
Site Admin
Posts: 13868
Joined: 20 Aug 2009, 06:20
Status: The Don
Location: The Fourth Dimension
Has thanked: 11 times
Been thanked: 38 times
Contact:

Re: Sleep

Post by ChattChitto »

Solved then! :)
To err is human, to forgive is divine
We can't all be heroes, because somebody has to sit on the curb and applaud when they go by.

ChattChitto RG - Apps Upload List: http://chattchitto.com/forum/viewtopic.php?f=29&t=104
ChattChitto RG - Movies Upload List: http://chattchitto.com/forum/viewtopic.php?f=29&t=5092
ChattChitto RG - Music Upload List: http://chattchitto.com/forum/viewtopic.php?f=29&t=34836
Locked

Return to “Programming/Web Building Chat & Support”