GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   how to do this? (WinXP question) (https://gfy.com/showthread.php?t=808637)

Mr Pheer 02-18-2008 07:16 PM

how to do this? (WinXP question)
 
Ok I have an application that seems to crash often... but i need it running all the time

anybody know if there is something that can be scheduled to check if the application is running, and if not.. start the damn thing?

I know how scheduler works but I cant find anything that checks to see if an application is running.. and if not, then start it

Spicoli 02-18-2008 08:55 PM

orrrrrrrr, find the problem and fix it ;-)

mikesouth 02-18-2008 10:52 PM

If it absolutely, positively has to run.

NEVER use any version of windows

try a UNIX Based OS.

teksonline 02-18-2008 11:05 PM

Vbs Vbs Vbs

WiredGuy 02-18-2008 11:15 PM

You can try to search for the job running, kill it (if found) and then restart it. Sort of the equivalent of kill -9 scriptname and then relaunching on a unix platform.
WG

AssPirate 02-18-2008 11:25 PM

Try Ctrl + Shift + Tab and you'll see the running programs.

Mr Pheer 02-19-2008 09:44 AM

looks like nobody understood the question

Diligent 02-19-2008 12:26 PM

Well.. if it crashes completely and leaves no remnant of itself (like an application-titled window), then here's what I suggest:

1. Go to http://www.acrasoft.com/ and pick up a license of GroundControl (cheap)

2. Write up a simple macro which checks if the app is running, if not it simply starts it up again..
(Not sure here, but it's not unlikely that You can do a more advanced check, like whether a registered app (hung or not) is responding)

3. Create a job which runs something like "%GroundControl%\gc.exe -r MyRestarterMacro.gc" every 5 minutes or whatever...
("%GroundControl%" = directory where G.C. was installed)

Mission completed :)
I love this shit, I'm a geek with this kind of stuff... (as much as my time & money allows it)

big_fucking_blast 02-19-2008 01:13 PM

or you can reinstall your windows . but take it as a final option

Mr Pheer 02-19-2008 05:31 PM

Quote:

Originally Posted by Diligent (Post 13803255)
Well.. if it crashes completely and leaves no remnant of itself (like an application-titled window), then here's what I suggest:

1. Go to http://www.acrasoft.com/ and pick up a license of GroundControl (cheap)

2. Write up a simple macro which checks if the app is running, if not it simply starts it up again..
(Not sure here, but it's not unlikely that You can do a more advanced check, like whether a registered app (hung or not) is responding)

3. Create a job which runs something like "%GroundControl%\gc.exe -r MyRestarterMacro.gc" every 5 minutes or whatever...
("%GroundControl%" = directory where G.C. was installed)

Mission completed :)
I love this shit, I'm a geek with this kind of stuff... (as much as my time & money allows it)

thanks man, I'm checking that out :thumbsup

Meorazhar 02-20-2008 02:18 AM

as far as i remember it is possible in nncron. You can set up a task and tell it to run only if a specific process exists / doesn't exist. Haven't touched it for some 2 years though

ro8in 02-20-2008 03:05 AM

Why dont you turn the application into a NT Service?? that restarts the app when it goes down :)


All times are GMT -7. The time now is 02:04 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123