# update git repos from upstream svn (master only) 05,35 * * * * root sudo -H -u __USER__ sh -c 'export GIT_DIR=/.../git/freeswitch-trunk.git; git svn fetch && cat ${GIT_DIR}/refs/remotes/git-svn > ${GIT_DIR}/refs/heads/master && git update-server-info' 10,40 * * * * root sudo -H -u __USER__ sh -c 'export GIT_DIR=/.../git/openzap-trunk.git; git svn fetch && cat ${GIT_DIR}/refs/remotes/git-svn > ${GIT_DIR}/refs/heads/master && git update-server-info' # incremental repack 15 0 * * 0-5 root sudo -H -u __USER__ sh -c 'export GIT_DIR=/.../git/freeswitch-trunk.git; git repack -d && git update-server-info' 20 0 * * 0-5 root sudo -H -u __USER__ sh -c 'export GIT_DIR=/.../git/openzap-trunk.git; git repack -d && git update-server-info' # full repack 15 0 * * 6 root sudo -H -u __USER__ sh -c 'export GIT_DIR=/.../git/freeswitch-trunk.git; git repack -a -d && git update-server-info' 20 0 * * 6 root sudo -H -u __USER__ sh -c 'export GIT_DIR=/.../git/openzap-trunk.git; git repack -a -d && git update-server-info'