PDA

View Full Version : Cronnix script not working


wesg
05-26-2008, 07:41 PM
I wrote a shell script that updates some information on my website using FTP.

It does the job fine in terminal, but when the only way I can make it work in Cronnix is if I do the terminal command

chmod a+x ~/Documents/script.sh

I understand that the script needs to be executable, but I thought this only needed to be done once. What could be going on?

jsalmi
05-26-2008, 08:28 PM
Are you saying that you need to chmod it every time you want to run it? If so, what are the permissions being changed to prior to you doing the chmod? Are you able to execute anything else put into cron via cronnix?