adrian1970
Technical User
Hi,
when using the predefined hash %ENV some variables are not found if the script is run from a crontab.
$HOME = $ENV{'HOME'};
works fine, but;
$user = $ENV{'USER'};
produces no result.
why is that?
thanks,
Ad
when using the predefined hash %ENV some variables are not found if the script is run from a crontab.
$HOME = $ENV{'HOME'};
works fine, but;
$user = $ENV{'USER'};
produces no result.
why is that?
thanks,
Ad