Subversion post-commit hook


I need a little help getting this to work. For some reason, the hook won’t run after I do a commit. I can manually execute the script and it works, but doesn’t work automatically.
Here’s my script:
/usr/bin/svn export --username xxxx --password xxxx --force /path/to/export/to
Do I need to do anything special?