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

[Condor-users] Problems running a batch file



Hi!

 

I am having problems executing a batch file that has been submitted through condor.

 

The submit file is the following,

 

universe = vanilla

environment = path=C:\Windows;C:\Windows\System32

transfer_executable = true

requirements = LoadAvg < 0.3

executable = Run.bat

log = Run_condor.log

output = Run_condor.out

error = Run_condor.err

queue

 

 

and the run.bat file is,

 

echo ...Running on computer:

SET COMPUTERNAME

echo PUSHD to \\O2F-STH-LAP-016\Users\o2f_sonlil\

PUSHD \\O2F-STH-LAP-016\Users\o2f_sonlil\

DIR

echo ...Run run.py

run.py

echo ...Done.

EXIT

 

 

But run.py is not executed.

Run_condor.err says that

“Access denied.

run.py is not an internal command, external command,
program or batch file.”

 

However, if I execute run.bat manually (without submitting via condor) it works fine.

 

Why is it so?

 

Cheers,

/Sónia

 

Läs fonetiskt

 

Ordbok - Visa detaljerad ordbok

 

 

Sónia Liléo
O2 Strandvägen 5B 114 51 Stockholm
Tel: +46 8 559 310 37 Mobile: +46 73 752 95 74

www.o2.se