Re: Environment Variables available from Crontab
On Sun, 21 May 2006 11:33:46 +0200
"Eduardo Aldaz" <firstname.lastname@example.org> 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?
Inside the script itself.
> Each time this script is called
> by crontab it would change the environment variable, as it is some sort
> of counter...
Have the script read & write it to a file, just don't store the file in
any of the tmp directories. They get cleaned out.
Robert "roach" Spencer