RE: Create a new system variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Keven, your right it does work. That's strange I'm trying to set the
proxy for up2date to work, and it work on command line but when I try
all of those methods given it doesn't. Any ideas?

-----Original Message-----
From: Keven Ring [mailto:keven@xxxxxxxxx] 
Sent: Thursday, April 08, 2004 2:55 PM
To: For users of Fedora Core releases
Subject: Re: Create a new system variable


Matthew Benjamin wrote:

>I really appreciate the GOOD suggestions I tried it however it still 
>does not work. Do you think it's a bug in Fedora Core 1? I tried Keven 
>and Martin's suggestions also to no avail. All of these work from just 
>a command line but once in the cron it flakes out.
>
>  
>
Hum..  Works for me:

[keven@localhost keven]$ crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.5046 installed on Thu Apr  8 15:49:20 2004)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp
$) http_proxy=http://foobar.com:80/
* * * * *       /usr/bin/printenv

This says to print the environment every minute [that way you don't have

to wait too long].  In a minute, you should get an email to your local 
account.  This was the contents of my email:

 From keven@xxxxxxxxxxxxxxxxxxxxx  Thu Apr  8 15:51:01 2004
Date: Thu, 8 Apr 2004 15:51:01 -0400
From: root@xxxxxxxxxxxxxxxxxxxxx (Cron Daemon)
To: keven@xxxxxxxxxxxxxxxxxxxxx
Subject: Cron <keven@localhost> /usr/bin/printenv
X-Cron-Env: <http_proxy=http://foobar.com:80/>
X-Cron-Env: <SHELL=/bin/sh>
X-Cron-Env: <HOME=/home/keven>
X-Cron-Env: <PATH=/usr/bin:/bin>
X-Cron-Env: <LOGNAME=keven>
 
SHELL=/bin/sh
http_proxy=http://foobar.com:80/
PATH=/usr/bin:/bin
PWD=/home/keven
SHLVL=1
HOME=/home/keven
LOGNAME=keven
_=/usr/bin/printenv


As you can see, http_proxy is most definately set....

-- 
Keven Ring               | "Oh no,  Not Again..."
The MITRE Corporation    |   Bowl of Petunias -
7515 Colshire Drive      |   The Hitchhikers Guide to the Galaxy
McLean VA 22102-7508     |
PH: (703)883-7026        |




-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux