On Sun, May 21, 2006 at 03:42:29PM -0500, Ron Johnson wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Eduardo Aldaz wrote: >> Dear All >> My crontab calls a script that I'd like to be able to read an >> environmental variable that I've created. >> >> My question is , where can I create/initialize this environment variable >> so that it is accesible to this script? Each time this script is called >> by crontab it would change the environment variable, as it is some sort >> of counter... > >Unix lets you see your parent's environment variables, but not >modify them so that it affects the parent's copy of the variable. > >Of course, OpenVMS does this with ease, and I use that feature all >the time. > >>>From what I gather /etc/profile is only used by login scripts? So it >> would be of no use?
Check out /etc/environment. That's where dpkg-reconfigure locales should end up putting its stuff, I think. /M -- Magnus Therning (OpenPGP: 0xAB4DFBA4) [EMAIL PROTECTED] Jabber: [EMAIL PROTECTED] http://therning.org/magnus Software is not manufactured, it is something you write and publish. Keep Europe free from software patents, we do not want censorship by patent law on written works. .
pgpZFobu0rDfN.pgp
Description: PGP signature