-
Can I automatically restart application by schedule?
Hello Sir,
I have some issue with my program that it is always inaccessible for every few hour (application running fine, NOT non-responsible OR crash) so, I need to schedule this software to automatically close and then start it again. For example, close and start again every 1 hour. Is it possible?
Thanks!
-
Administrator
Create a batch script with the command "taskkill /F /IM process.exe" | start C:\path\to\program.exe"
Set it to run every hour through Scheduled Tasks.
-
Experienced User
"Taskkill" command doesn't work with XP Home, so if you have that OS..
http://www.jakeludington.com/windows_xp/20080724_taskkill_replacement_for_windows_xp_home.html
-
Many thanks for you all!
-
Experienced User
Never knew that taskkill isn't present in Home. BTW, who uses the lame Home ?
Happy To Help
-
Administrator
I kept on forgetting that taskkill doesn't work with XP Home
-
Experienced User
XP Home doesn't come with advanced settings like gpedit.msc, taskkil, etc
-
Experienced User

Originally Posted by
prashanthpai
Never knew that taskkill isn't present in Home. BTW, who uses the lame Home ?
Umm, me?
-
Hi Raymond,
According to your reply. I can't using "|", I need to separate it into 2 line.
taskkill /F /IM process.exe | start C:\path\to\program.exe >> Not works
>>Works well
taskkill /F /IM process.exe
start C:\path\to\program.exe
What is the different if I use | instead of using new line? Any benefit? or it is the same?
Thanks!
Last edited by Novox; 12-05-2008 at 11:28 PM.
-
Experienced User

Originally Posted by
xje4bv
Umm, me?

i use it as well. only because it came with the computer and i don't wanna have reinstall windows just to get advanced options.
Similar Threads
-
By LizardMan in forum General Forum
Replies: 3
Last Post: 03-05-2010, 01:25 PM
-
By nuwan in forum General Forum
Replies: 4
Last Post: 02-18-2010, 05:53 PM
-
By zillah2004 in forum Software
Replies: 0
Last Post: 10-11-2009, 01:47 PM
-
By Kazemagic in forum General Forum
Replies: 11
Last Post: 04-16-2009, 12:29 PM
-
By nobullshit in forum Network
Replies: 16
Last Post: 03-13-2008, 05:38 AM
All times are GMT +8. The time now is 09:32 AM.