I work for a consumer software company. Our core software runs on the desktop (as opposed to in a browser) and uses a lot of XML and audio files. We’re frequently committing new versions of the XML files (and sometimes audio files) to our SVN repository.
However, we have an additional online-only application that uses these same XML and audio files. Assume these files are stored in http://example.com/data/xml and http://example.com/data/audio. Is there a way to automatically check on a daily basis for new commits to the SVN repository, and then update the /data/xml and /data/audio folders with the new files found in SVN?
I’m using PHP on Apache.
You might look here. That describes post-commit hooks. That means you might write a script which is executed on your server after every commit to the repository e.g a script which updates these two directories.
If you just want to update them daily you might look for daily cronjobs(see e.g. here: http://en.wikipedia.org/wiki/Cron).