-
Can i restart application automatically when the system restart
I have configure nearly 100 MRTG senses on windows 2003 server machine.
I used perl.
so if my machine restart i have to restart command line window one by one and run the MRTG again (c:\mrtg\bin>perl mrtg mrtg.cfg)
can i restart these application automatically at the system restart ?
Best regards
nuwan
-
Pc Wizkid & Programmer :)
use a batch file to execute your cmd scripts and add the batch file to the startup in the registry
Out of my mind. I Haven't Lost My Mind, It's Backed Up On Disk Somewhere.
-
thanks lot
i will try it
nuwan
-
Administrator
Check this article out.
http://www.raymond.cc/blog/archives/2009/10/23/execute-any-file-when-application-crashed-or-stopped-running-useful-for-srcds/
Sometimes you'll need to set up some delay between the commands using ping 127.0.0.1 -n X.
-
thanks for both of you
success my work
i create the batch file as follows
cd\
cd mrtg\bin
perl mrtg mrtg.cfg
then add shortcut to startup folder.
Similar Threads
-
By LizardMan in forum General Forum
Replies: 3
Last Post: 03-05-2010, 01:25 PM
-
By Kazemagic in forum General Forum
Replies: 11
Last Post: 04-16-2009, 12:29 PM
-
By tejumaU in forum Hardware
Replies: 9
Last Post: 03-16-2009, 09:55 AM
-
By tejumaU in forum Software
Replies: 1
Last Post: 03-15-2009, 08:50 PM
-
By Novox in forum Software
Replies: 10
Last Post: 12-06-2008, 06:48 AM
Tags for this Thread
All times are GMT +8. The time now is 12:06 AM.