Mailing List Archives
	Authenticated access
	
	
     | 
    
	 
	 
     | 
    
	
	 
     | 
  
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Are "optional machine-specific local config	files" executable
- Date: Fri, 30 Sep 2011 00:17:43 -0400
 
- From: Ian Chesal <ichesal@xxxxxxxxxxxxxxxxxx>
 
- Subject: Re: [Condor-users] Are "optional machine-specific local config	files" executable
 
On 2011-09-29, at 11:39 PM, Kevin.Buckley@xxxxxxxxxxxxx wrote:
> What I am hoping for is that, on windows, putting a .BAT file in
> the optional config directory would be the equivalent of doing
> something like
> 
> LOCAL_CONFIG_FILE       = $(LOCAL_DIR)/etc/vuwconfig.bat|
> 
> with the pipe indicating that you want a dynamic/executable
> config, for the complete local configuration.
Yes. But it's the pipe at the end of that line that tells Condor to run the script to get configuration output, not the executable bit (does windows even have the notion of an executable bit? I didn't think it did...) that indicates this.
You can run a script, a binary, anything really. It only has to output valid key/value pairs that follow the Condor configuration file syntax rules.
A simple bat script example would be:
@echo
type \\myserver\myshare$\some\path\configuration.local
That would be sufficient to make it work.
Regards,
- Ian
>