Hello Klaus,
My tests of this feature also fail to succeed.
Until this is fixed, I suggest setting the environment of the cron
job using STARTD_CRON_TEST1_ENV.
--Dan
On 7/20/11 2:04 PM, kschwarz@xxxxxxxxxxxxxx wrote:
Hi,
We are using Condor on Windows
desktops
and want to test the cron mechanism on versions 7.2.4 and 7.6.0.
I am defining
STARTD_CRON_CONFIG_VAL
as follow, and when I try to verify whether
STARTD_CRON_CONFIG_VAL environment
variable (or any other with the word "CONFIG_VAL") is set or
not , I have not found anyone.
I have understood, from the
manual,
that the cron mechanism "sets" a STARTD_CRON_CONFIG_VAL
environment
variable that could be used by the job script to execute the
condor_config_val
command to find Condor configuration values.
What am I missing or doing wrong?
Cron definitions:
# auxiliary variable to use in identifying
locations
of files
MODULES = //server/path_to_the_cron_script
STARTD_CRON_CONFIG_VAL =
$(RELEASE_DIR)/bin/condor_config_val
STARTD_CRON_MAX_JOB_LOAD = 0.2
STARTD_CRON_JOBLIST =
#
## TEST1 job
STARTD_CRON_JOBLIST = $(STARTD_CRON_JOBLIST)
TEST1
STARTD_CRON_TEST1_MODE = Periodic
STARTD_CRON_TEST1_PERIOD = 12h
STARTD_CRON_TEST1_RECONFIG_RERUN = True
STARTD_CRON_TEST1_EXECUTABLE =
$(MODULES)/TEST1.cmd
STARTD_CRON_TEST1_KILL = True
STARTD_CRON_TEST1_JOB_LOAD = 0.01
#
TEST1.cmd
echoes to a file the result of the MSDOS "set" command and I
am not finding any such environment variable.
TESTE1.cmd:
@echo off
setlocal ENABLEEXTENSIONS
ENABLEDELAYEDEXPANSION
set >>
path_to_a_world_writable_shared_file
2>&1
endlocal
Thanks,
Klaus
This message is intended solely
for the
use of its addressee and may contain privileged or
confidential information.
All information contained herein shall be treated as
confidential and shall
not be disclosed to any third party without Embraer’s prior
written approval.
If you are not the addressee you should not distribute, copy
or file this
message. In this case, please notify the sender and destroy
its contents
immediately.
Esta mensagem é para uso exclusivo de seu destinatário e pode
conter informações
privilegiadas e confidenciais. Todas as informações aqui
contidas devem
ser tratadas como confidenciais e não devem ser divulgadas a
terceiros
sem o prévio consentimento por escrito da Embraer. Se você não
é o destinatário
não deve distribuir, copiar ou arquivar a mensagem. Neste
caso, por favor,
notifique o remetente da mesma e destrua imediatamente a
mensagem.
_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/
|