In general I discourage that practice. Instead I will either (a) set the environment variables in the crontab, or (b) create a specific dotfile (such as .cron_foo) to set up the variables.
The reason? It really sucks when you edit your .cshrc/.bashrc and your cron jobs start failing...
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re^2: Environment Variables?????
by roboticus
in thread Environment Variables?????
by SriniK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |