Yes and no.
You can read an environment, but as cron jobs run their own environment, you need to load the environment you want. See Get default login environment.
In reply to Re^4: Read UNIX environment variable
by Corion
in thread Read UNIX environment variable
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |