I had a problem that my cron script wasnt loading the environment variables so I added the following line:
#!/bin/sh
bash /root/.bash_profile
This seems to have no effect and the path variables are not being set correctly. How do I run the bash_profile script