Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
May 18, 2013, 10:11:04 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: schedule jkdefragcmd.exe in script  (Read 1961 times)
Nico
Newbie
*
Posts: 2


View Profile
« on: November 13, 2007, 04:24:49 pm »

I run this script at 23:00

stopdb.cmd
jkdfragcmd.exe
startdb.cmd

When I run this script, the startdb.cmd (to startup oracle) is executed before jkdfragcmd.exe is finished.
Can you help me?
Logged
tonne
JkDefrag Hero
*****
Posts: 55


View Profile
« Reply #1 on: November 13, 2007, 04:29:48 pm »

Maybe

stopdb.cmd
start /WAIT jkdfragcmd.exe
startdb.cmd
Logged
jarvis
JkDefrag Senior
****
Posts: 21


View Profile
« Reply #2 on: November 13, 2007, 04:47:46 pm »

even without START /wait, this shouldn't happen, so long as you are definately using jkdefragcmd.exe

Using the gui version (jkdefrag.exe) will lead to the script continuing before jkdefrag finishes.
Logged

Kind Regards

Andy (a.k.a. Jarvis)

--
Jarvis
Nico
Newbie
*
Posts: 2


View Profile
« Reply #3 on: November 13, 2007, 05:02:59 pm »

My problem was solved by jarvis.

Thanks for all the answers!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!