Sponsored Content
Top Forums Shell Programming and Scripting Adding command line env in cron env Post 92488 by abhijeetkul on Monday 12th of December 2005 04:58:05 AM
Old 12-12-2005
Adding command line env in cron env

Hello friends,
i run two scripts manually & they work.

i run them in cron & they don work.

how to match the two env's
1.command line env
2.cron env

i would like cron to use command line env.

Thanks & Regards

Abhijeet
 

10 More Discussions You Might Find Interesting

1. Solaris

Env

hey guys!!!! i have a few question .. how to modify the user ENV in Sun Solaris 10 ... Thanks!!!! (1 Reply)
Discussion started by: giancarlodjabon
1 Replies

2. Shell Programming and Scripting

env

Hi, I want to check the path set for a particular variable.Like when i use "env" command ,so many variables are there.I have to search for that variable which i need.Instead can i have any cmd which i can directly check the path set for that variable except "echo $path_name" Thanks, ... (3 Replies)
Discussion started by: rrs
3 Replies

3. AIX

CDE Env.

Hi I installed aix 5.2-09 on js21 but am unable to get cde environment through X manager soft. when i run ./rc.dt am able to get the same but this remains till next reboot. What should i do can anybody help me???? (4 Replies)
Discussion started by: vjm
4 Replies

4. HP-UX

How to use own account env variables to cron user

hi all, i have one account for unix Tru64. i can login this account and i do execute special shell script(login sqlplus, execute another shell, etc... ) on this account on my server. but i can't run this shell from cron tab. i think that become cron user envirnoment variables. (3 Replies)
Discussion started by: Tlg13team
3 Replies

5. Shell Programming and Scripting

HOME env

Do you know shell in Linux without HOME env ? Best regards, Iliyan Varshilov Edit/Delete Message (1 Reply)
Discussion started by: ilko_partizan
1 Replies

6. HP-UX

I want a HP-UX ENV,how could I?

just for practice,:) (1 Reply)
Discussion started by: freebsdjlu
1 Replies

7. Shell Programming and Scripting

env command

All, what is env command used for in Unix? Regards Oracle User (2 Replies)
Discussion started by: Oracle_User
2 Replies

8. Solaris

env variables again

What is the difference between ${variable} and $variable when used in a script? (2 Replies)
Discussion started by: orange47
2 Replies

9. Web Development

Deny from env=env-variable Does not work

(Above from Apache docs). On my system, using: SetEnvIf User-Agent Mozilla IsBad=1 Order allow,deny Allow from all Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies

10. UNIX for Beginners Questions & Answers

How to use env command to change GREP_OPTIONS variable?

How could I use the env command to change the enviroment variable GREP_OPTIONS so that grep is not case sensitive by setting it to "-i'? So that the command: grep a <<< A Will produce the same output as grep -i a <<< A (8 Replies)
Discussion started by: steezuschrist96
8 Replies
ENV(1)							    BSD General Commands Manual 						    ENV(1)

NAME
env -- set and print environment SYNOPSIS
env [-i] [name=value ...] [utility [argument ...]] DESCRIPTION
env executes utility after modifying the environment as specified on the command line. The option name=value specifies an environmental variable, name, with a value of value. The option '-i' causes env to completely ignore the environment it inherits. If no utility is specified, env prints out the names and values of the variables in the environment, with one name=value pair per line. DIAGNOSTICS
If the utility is invoked, the exit status of env shall be the exit status of utility; otherwise, the env utility exits with one of the fol- lowing values: 0 The env utility completed successfully 1-125 An error occurred in the env utility. 126 The utility specified by utility was found, but could not be invoked. 127 The utility specified by utility could not be found. COMPATIBILITY
The historic - option has been deprecated but is still supported in this implementation. SEE ALSO
execvp(3), environ(7) STANDARDS
The env utility conforms to IEEE Std 1003.2-1992 (``POSIX.2''). BUGS
env doesn't handle commands with equal (``='') signs in their names, for obvious reasons. BSD
August 27, 1993 BSD
All times are GMT -4. The time now is 03:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy