I followed the steps on this page to create a simple script that would write the time to a file. I am able to run the script manually just fine.
I then created a cronjob to test out this script:
50,1 * * * * /home/USER/scripts/cron-test.pl
I then added it to my crontab and it does not work. Rather than appending the time to the test file, I receive an email with this error in the body:
/bin/sh: /home/USER/scripts/cron-test.pl: Permission denied
(Where USER, of course, is my username.)
What am I doing wrong here?