Next badge 0/1
~2k people reached
- 0 posts edited
- 0 helpful flags
- 0 votes cast
|SVN command works in shell but not in cron. Why not?|
SVN command works in shell but not in cron. Why not?
I have the same problem. It is not due to shell choice, nor due to path. As in the case of the OP, the output from cron indicates that svn is in fact being run, but the authentication is failing. A can see it asking for a password, and getting no (or incorrect) response. This information is cached in my .subversion settings, since if I run the same command from the command line, I am not even asked for a username or PW. I am issuing a svn export <url> <local filenmae> command. If I issue the same command in the crontab for a svn url that is NOT password protected, then the cronjob works fine.