in reply to
What kind of program are you running for 24 hours?
If it is some sort of server, you could simply implement a command "AREYOUHERE" and know that your program would have to answer "YESIAM" for it to be currently running.
That way, you could even check if your program is running from a remote machine...
Results (321 votes),