
Adrian
New User
Oct 23, 2006, 5:43 AM
Post #1 of 2
(572 views)
|
|
%ENV variables not picked up when run from crontab
|
Can't Post
|
|
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
|