If you or your webhost has enabled jailshell on an account, and the user is having problems with its cronjobs not runnings the fix may be quite simple.
It’s pretty likely that you’re seeing an error that looks something a little bit like this:
/usr/local/cpanel/bin/jailshell: /usr/bin/wget: Permission denied
If so, try running this command:
# stat /usr/bin/wget | grep Access
If you see something that looks like this:
Access: (0750/-rwxr-x---) Uid: ( 0/ root) Gid: ( 0/ root)
Then that’s the problem! Those permissions will need to be updated to 755 in order for non-root users to be able to use that in jailshell. To correct the permissions all you need to do is run this command:
# chmod 755 /usr/bin/wget
Then all of your problems will disappear! If your host can’t help you, feel free to send us a quick note. We’d love to help!