what is your os and bash version? do you have a .bashrc file?
if you want to set enviroments globaly,you can edit /etc/default/cron.
or you can add bash startup scripts to your cron scripts.
regardss
ygemici
I am trying to run a series of perl scripts at different times using crontab under solaris. The scripts that i am using require some specific environment variables to be specified for database functionality, but i would also like it that i can specify a few global variables for output locations.
... (8 Replies)
hi,
I want to create a new EV(Environment Variable) through a c program and I done this thing through setenv() method. But the newly created EV is not permanent, i.e. when I exit from the program the EV also no longer lives. But I want to make it a permanent EV for the current user. Actually I... (6 Replies)
Is it possible to use environment variables within cron jobs. I am using a cron job to run a c program at regular intervals. The C program uses a library and i have set the library path in the LD_LIBRARY_PATH environment variable. But when i ran the job i got the error library not found!! Any... (1 Reply)
say i define an environment variable in a particular script (upgrade.sh).
my script is upgarde.sh and it calls another script try.sh. will this environment variable be accessible to try.sh also. if not how to I make environment variables global so that they can be used by any script. (2 Replies)
Hi,
In Cron file i'm using username and password hard-coded and now i wann to use environmental veraiables in cron file.
But Could you please guide me how to use these environmental variables in cron file ?
Thanks,
Shyamu.A (4 Replies)
I have read tons of posts about how you can't set persisting environment variable in a child script of a shell and have it persist. The only way is to source a file as
% . <scriptname>
I am finding that true... but I know there is a way around it. I just don't know how. I worked for 6... (5 Replies)
Hi everyone,
I wrote a script that is supposed to be run by cron on a daily basis. It works just fine if I run it manually, but due to a lack of environment variables (which are available during my user session but not when cron runs the script) it keeps failing to run successfully.
Here's the... (2 Replies)
Hi All,
I need to understand following three environment variables and their usages in HP Unix.
_M_ARENA_OPTS
_M_CACHE_OPTS
PTHREAD_SCOPE_SYSTEM
How does these environment variables influence multi threaded applciation and how do we decide the value of these variables? Is there... (0 Replies)
Discussion started by: angshuman
0 Replies
LEARN ABOUT SUSE
git-peek-remote
GIT-PEEK-REMOTE(1) Git Manual GIT-PEEK-REMOTE(1)NAME
git-peek-remote - List the references in a remote repository
SYNOPSIS
git peek-remote [--upload-pack=<git-upload-pack>] [<host>:]<directory>
DESCRIPTION
This command is deprecated; use git ls-remote instead.
OPTIONS
--upload-pack=<git-upload-pack>
Use this to specify the path to git-upload-pack on the remote side, if it is not found on your $PATH. Some installations of sshd
ignores the user's environment setup scripts for login shells (e.g. .bash_profile) and your privately installed git may not be found on
the system default $PATH. Another workaround suggested is to set up your $PATH in ".bashrc", but this flag is for people who do not
want to pay the overhead for non-interactive shells, but prefer having a lean .bashrc file (they set most of the things up in
.bash_profile).
<host>
A remote host that houses the repository. When this part is specified, git-upload-pack is invoked via ssh.
<directory>
The repository to sync from.
AUTHOR
Written by Junio C Hamano <gitster@pobox.com[1]>
DOCUMENTATION
Documentation by Junio C Hamano.
GIT
Part of the git(1) suite
NOTES
1. gitster@pobox.com
mailto:gitster@pobox.com
Git 1.7.1 07/05/2010 GIT-PEEK-REMOTE(1)