My default shell is csh. I have a script that runs correctly on a bash which I want to add to cronjob. How do I make all the commands in the script run on bash.
Currently the cronjob tries to execute the script on csh and reports error.
I tried first first command as bash, and then the rest of the commands. But bash runs and the rest of the commands run on csh.
Following is the script:
rm -rf $dir_name
git-ws --branch v160.main asr5k/master master //This works on bash only