Re: Environment Variables available from Crontab
-----BEGIN PGP SIGNED MESSAGE-----
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
>>From what I gather /etc/profile is only used by login scripts? So it
> would be of no use?
> Thanks for your help
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----