Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
A simple fix for a simple program
Name: sharpyhl Date: June 12, 2004 at 11:50:44 Pacific OS: WinXP CPU/Ram: 512megDDr
Comment:
Im running Windows XP, and some basic server .exes in DOS. Problem is, the servers are very unstable, and will crash every hour or so. And honestly, its just a matter of running an exe for the server, but its a pain. Is there any way I can program or make a simple program that will check to see if the 3 .exes are running every 30 seconds or every minute, and if any are down, it will re-open them? Thank you...
Name: Sord Date: June 12, 2004 at 21:48:49 Pacific
Reply:
There's a lot of ways...
0
Response Number 2
Name: JasonR Date: June 15, 2004 at 06:42:29 Pacific
Reply:
It is possible to restart the applications, but also it might be a good idea to find out why the applications are failing. A re-write of the code might help.
Summary: Sorry, I read things a little more and see that you say "once and only once" in your first post. OK, my bad. Second, you're only looking at the four basic operators, which is good (plus parenthesis)...
Summary: I want a simple program that will copy a file.txt over and over again until windows free space is full. e.g. copy f.txt and it gets renamed f1.txt, f2.txt, f3.txt, etc ...
Summary: I am new to C so be easy on me! :| I know it sounds stupid but i'm trying to make a program that basically works just like the msdos prompt. I wont go into why. But the problem i'm having is that it s...