I have a crontab script which runs fine from the interactive shell. However when running from crontab it fails because it doesnt run the scripts in /etc/profile.d/ (e.g. /etc/profile.d/java.sh)
Whats the best way of fixing this?
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.Sign up to join this community