10-27-2013
But of course, why didn't I think of that! Thank you. I guess the only thing that will be bugging me a bit is the fact that the string "%VPM_LIBEXECPATH%" is present in $PATH, which is kind of ugly. Then, again, this will only occur when running it directly (no installation).
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to include all the subnet files under /etc/dhcpd/ to /etc/dhcpd.conf
so here is my content of dhcpd.conf
...
include "/etc/dhcpd/*";
however, the check-syntax reports syntax error, as they do not recognize the wildcard *, and display that " file /etc/dhcpd/* could not be found.
... (4 Replies)
Discussion started by: fredao
4 Replies
2. Shell Programming and Scripting
I have a script at /java/custom/build.sh
I want to force the user to execute the script from the /java/custom directory ONLY. In other words if the user is in /java I want to exit if they execute custom/build.sh
The directory structure may change from the env to env, so I can't use... (4 Replies)
Discussion started by: t_c_1980
4 Replies
3. Shell Programming and Scripting
Hi folks
I have a unix script script1 in a directory folder1 and also I have few input log files in this directory. My input log files will be copied into this directory folder1 from the portable thumb drive.
Now what I want is I need to run this script1 whenever any new file is copied... (2 Replies)
Discussion started by: ks_reddy
2 Replies
4. Shell Programming and Scripting
Hi I am trying to write a shell script that is reading all the scripts in the current directory (currently 5) and is allowing me to run the scripts that is in the directory.
I want that this scripts asks te user to execute 1 of the listed scripts.
I have 4 sample scripts in the directory:... (8 Replies)
Discussion started by: I-1
8 Replies
5. UNIX for Dummies Questions & Answers
The way this works from the command prompt is:
___________________________________________
cd /data/local/bin
chmod 0755 file.bin
./file.bin
_______________________________________________
How do I make this happen in a script. The file must be run in its directory but I can not get the... (2 Replies)
Discussion started by: chrstdvd
2 Replies
6. Shell Programming and Scripting
I have N number of python scripts which i am receiving from REST web server and i am saving them in /home/mandar/ . Now i want to write a script to run all the python scripts from this directory and monitor them every minute...if any process is dead or hung it should be restarted by this script.
... (0 Replies)
Discussion started by: Mandar Nandale
0 Replies
7. Shell Programming and Scripting
Hi,
I have created a Shell Script and invoke through java using Process Builder
It's working fine, if (Shell script file ) in the same directory as java file.
By Problem:
How to run the Shell Script file( resides in external directory) using java. What configuration i have... (1 Reply)
Discussion started by: nanthagopal
1 Replies
8. Programming
I want to run a test for the gem mini_magick:
https://github.com/minimagick/minimagick
I got the directory lib, inside of which i got:
- mini_magick.rb
- mini_gmagick.rb
and inside of the test folder is the test i need to run:
- image_test.rb
and a helper file called:
- test_helper.rb
... (1 Reply)
Discussion started by: tornow
1 Replies
9. Shell Programming and Scripting
This script writes the output files to FILES but I don't want to exclude all directories from ABC_CHQ and LYS_ADV, I want to include one sub directory name process which is under ABC_CHQ and LYS_ADV in the search. Right now its excluding everything from prune directories such as ABC_CHQ, LYS_ADV... (10 Replies)
Discussion started by: John William
10 Replies
10. Shell Programming and Scripting
How to run a script/command on all the directories in a directory tree?
The below script is just for the files in a single directory, how to run it on all the directories in a directory tree?
#!/bin/sh
for audio_files in *.mp3
do
outfile="${audio_files%.*}.aiff"
sox "$audio_files"... (2 Replies)
Discussion started by: temp-usr
2 Replies
LEARN ABOUT DEBIAN
globus_gram_job_manager_job_execution_environment
globus_gram_job_manager_job_execution_environment(3) globus gram job manager globus_gram_job_manager_job_execution_environment(3)
NAME
globus_gram_job_manager_job_execution_environment - Job Execution Environment
Environment Variables
The GRAM Job Manager provides a minimal environment for user's jobs. The following environment variables will be set by the job manager.
Variables marked with an asterisk (*) will only be set if a related job manager configuration option or RSL attribute is provided. Local
schedulers may set additional environment variables.
HOME
The user's home directory.
LOGNAME
The user's login name.
X509_USER_PROXY
The path to the job manager's delegated credential. (GSI only).
GLOBUS_GRAM_JOB_CONTACT
The job manager's contact string for this job.
GLOBUS_LOCATION
The path to the Globus installation on the job manager host.
X509_CERT_DIR*
The path to a trusted certificate directory. This variable will only be set if the -x509-cert-dir argument is given to the job manager.
GLOBUS_GASS_CACHE_DEFAULT*
The path to the job's GASS cache (if the gass_cache RSL attribute is present).
GLOBUS_TCP_PORT_RANGE*
A system-specific range of TCP ports which may be used by the job. Globus I/O will automatically honor this range. Only present if the
related configuration option is present in the job manager configuration file.
GLOBUS_REMOTE_IO_URL*
The path to a file containing a URL string of a GASS server which the job may access (if the remote_io_url attribute is present).
GLOBUS_NEXUS_NO_GSI
Disables GSI in Nexus's TCP protocol, for compatibility with Nexus 4.6 and earlier.
RSL Substitions
In addition to the environment variables described above, a number of RSL substitutions are made available by the job manager. These
substitions may be added to the environment by the job RSL if needed.
HOME
The user's home directory.
LOGNAME
The user's login name.
GLOBUS_ID
The subject name of the security credentials under which the job is running.
GLOBUS_GRAM_JOB_CONTACT
The job manager's contact string for this job.
GLOBUS_HOST_MANUFACTURER
The manufacturer part of the host configuration string (derived from config.guess)
GLOBUS_HOST_CPUTYPE
The CPU type part of the host configuration string (derived from config.guess)
GLOBUS_HOST_OSNAME
The operating system name part of the host configuration string (derived from config.guess)
GLOBUS_HOST_OSVERSION
The operating system version number part of the host configuration string (derived from config.guess)
GLOBUS_GATEKEEPER_HOST
The name of the host on which the gatekeeper is running.
GLOBUS_GATEKEEPER_PORT
The TCP port which on which the gatekeeper is accepting connections.
GLOBUS_GATEKEEPER_SUBJECT
The subject name of the security credentials under which the gatekeeper is running.
GLOBUS_LOCATION
The path to the Globus installation on the job manager host.
GLOBUS_CACHED_STDOUT
The name of the local file in the cache where stdout is being stored. This may be used as the value of the stdout RSL attribute to
cause one copy of output to be stored in the cache. A stdio_update signal may be used to retrieve the output when the job is finishing.
GLOBUS_CACHED_STDERR
The name of the local file in the cache where stderr is being stored. This may be used as the value of the stderr RSL attribute to
cause one copy of output to be stored in the cache. A stdio_update signal may be used to retrieve the output when the job is finishing.
SCRATCH_DIRECTORY
The path of the scratch directory for this job. (Only set if the scratch_dir RSL attribute is used).
GLOBUS_CONDOR_ARCH
The condor name of the architecture which the job manager is handling jobs for. (deprecated)
GLOBUS_CONDOR_OS
The condor name of the operating system which the job manager is handling jobs for. (deprecated)
Version 13.33 Mon Apr 30 2012 globus_gram_job_manager_job_execution_environment(3)