You may well find that PATH is not being set by cron as it is not sourcing in .bashrc or .profile - this is expected and normal behaviour.
You have access to PATH as $ENV{PATH}, which you can set inside your script before you fork. %ENV is available for dumping out for debugging purposes.
--
Oh Lord, won’t you burn me a Knoppix CD ?
My friends all rate Windows, I must disagree.
Your powers of persuasion will set them all free,
So oh Lord, won’t you burn me a Knoppix CD ?
(Missquoting Janis Joplin)
In reply to Re: (OT) Path Trouble
by rinceWind
in thread (OT) Path Trouble
by tc1364
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |