I have a very simple shell script I need to run as a cronjob but I can\'t get even the test scripts to run. Here\'s and example script:
/home/myUser/scripts/test.sh<
Specify complete path and grant proper permission to scriptfile. I tried following script file to run through cron:
#!/bin/bash /bin/mkdir /scratch/ofsaaweb/CHEF_FICHOME/ficdb/bin/crondir
And crontab command is
* * * * * /bin/bash /scratch/ofsaaweb/CHEF_FICHOME/ficdb/bin/test.sh
It worked for me.