[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] VM Universe in Windows Condor 7.0.0: update

>    2. Instead of using autoplay, in order to launch the job, I had to
> configure the VM to add a scheduled task, launched once only on system
> startup and running as user "condor", that kicked off the job by
> explicitly running a batch file on the CD.

You might also try putting the script in one of Windows' many start-up
locations.  There is the user's Startup folder, as well as a wide range of
registry locations.

You can use the "AutoRuns" tool to see all of them:


>    3. In order to shut down the VM at the end of the job, I had to
> install the "shutdown" utility from
> http://www.aumha.org/downloads/shutdown.zip (link copied from page
> http://www.aumha.org/win5/a/shutcut.php). Using the built in Windows
> shutdown utility was not sufficient: it fails to shut down the VM
> completely, preventing the Condor job from terminating.

This may be due to a limitation of the tool you are using. You might want
to try PsShutdown instead: