My shell script runs from the command line, but fails in cronjob.
/bin/sh: asper.sh: Permission denied
-rw-r--r-- asper.sh
I guess the permission should look like '-rwxr-xr--'
How can I change the permission to be like that?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this community
chmod +x asper.sh
. Also, this is not really a Stack Overflow question. Maybe superuser? Server fault?