I have a complicated question (I understood that's related to environment variables). I'm running a script via termial as follows: "bash install_version.sh"
#!/bin/bash /root/RADview_linux_6_4_0_* << 'EOF' o 1 LAB - 16GB Minimum Server sleep 120 EOF
And it works fine (4 folder were created as it should be). After that, I tried to run the script via cron and only 1 folder was created (instead of 4). Crob contains:
47 14 * * 1-5 bash /root/nightlyBuild/install_version.sh
Anyone can advise?