I have set crontab to execute a script in my home directory. This is the line:
0 * * * * ~/minds.sh # JOB_ID_1
The script itself has been placed inside
/etc/cron.daily/ and it still is not executing. It has execute permissions and the ownership of the script is correct, first case the home user owns the script and in the second case root.
It is supposed to run every hour. I cant figure out what is going on and why it is not working. Any suggestions?
To update I have edited the crontab and it is now
0 * * * * /home/user/minds # JOB_ID_1. I have remove the .sh extension and the scrip works. Now I just have to wait for it to see if it will work. Will report back in an hour.
The crontab and /etc/cron.daily/ are not executing at all.