[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn and cron

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-12-12 03:50:49 CET

On Dec 11, 2006, at 11:37, Chris Fouts wrote:

>> Has anybody had any success running cron based svn scripts? Mine
>> can all be executed from command line but for some reason running
>> then from cron they start discovering these non exsistent
>> temporary files and manage to lock my svn archive for no aparent
>> reason. I understand that svn isn't supposed to be automated but
>> this small side project would be a fairly huge boon in the
>> documentation of our centers server configurations. However
>> running the scripts manually effectively eliminates the boon
>> gained by the automation. If anybody has been able to
>> successfully execute svn cleanup, svn commit or svn update from a
>> cron job please let me know.
>
> I run expect scripts that do an "svn co" for my nightly regression
> tests on the trunk.

Curious. What do you need expect for in this scenario? svn is not an
interactive program. The only thing I think it can prompt for is the
username and password, and you can provide that with the --username
and --password options without resorting to something like expect.

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 12 03:51:24 2006

This is an archived mail posted to the Subversion Users mailing list.