I'm attempting to run a crontab, but I get an error from crontab every hour claiming permission has been denied for the lock and the script does not run. This is how I phrased it:
I tried adding the hidden directory the username actually lies in, adding a semicolon, etc., but I can't find what's wrong. Any ideas?
Oh, and the email is as follows:
From: Cron Daemon email@example.com
Subject: Cron /usr/local/bin/setlock -n /tmp/cronlock.1581374.13951 sh -c $'/usr/local/php5/bin/php \012/home/username/domain/scripts/script.php'
sh: line 2: /home/username/domain/scripts/script.php: Permission denied
Edited for privacy of course.