Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wesg

macrumors regular
Original poster
Jan 2, 2008
211
0
Toronto, ON
I posted previously about a problem I was having with my script and FTP. I got that working, but now I've run into a problem where Cronnix - the crontab scheduler GUI - only runs the script properly if I use
Code:
chmod a+x /path/to/script
before. I understand that the script needs to be executable, but I can't figure out why this needs to be done over and over again.

I tried putting this into the beginning of the script, but it still doesn't work. With the Terminal, everything works as planned.

Any ideas?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.