tags:

views:

329

answers:

2

Hi there,

With subversion is there a way to automatically update a repository at say 6am every morning?

+3  A: 

You can do it by command line and scheduler build on your OS.

dario-g
thanks. So do you know how I can do it by command line?
windows has an 'at' command. Something like: `at 6am foo.exe`
Noon Silk
Ok. I'm using Windows XP. Yea i can use windows schedule to kick it off. Just wondering what command line query to use
`svn update` (in the directory)
Noon Silk
(actually it's almost certainly not exactly that; I can't recall from the top of my head, maybe svn -u, but someone else will confirm soon :)
Noon Silk
Actually `svn update` in the directory is correct :)
Alex Barrett
+4  A: 

To run a command to update an SVN working copy at 6:00 am every morning on Windows:

at 06:00 /every:M,T,W,Th,F,S,Su svn up path\to\wc

You could take out S and Su to have it only run on weekdays.

Alex Barrett
I am assuming that by 'repository' you mean _working copy_ btw.
Alex Barrett