This question already has an answer here:
I have an entry in cron.d:
31 17 * * * root /home/some_user/.bash_profile; /home/some_user/bin/some_script
The profile sets a specific path, and I echo the current path in the profile to ensure its correct. But, when the script executes, a command in it fails because it's not in PATH and, when I display the current PATH within the script - it's not what was set in the profile.
Why doesn't the PATH set in the profile survive into the script's execution?