refs #4657
Automatic redmine changeset fetch, pull interval of 5 minuts
This commit is contained in:
parent
9237322e5b
commit
692eec5f44
|
@ -1 +1 @@
|
|||
*/10 * * * * /var/local/redmine/scripts/update-repositories.sh
|
||||
*/5 * * * * /var/local/redmine/scripts/update-repositories.sh
|
||||
|
|
|
@ -8,3 +8,5 @@ for REPO_DIR in "$GIT_SYNC_FOLDER/"*; do
|
|||
(cd "$REPO_DIR" && git remote update --prune) >> /dev/null
|
||||
fi
|
||||
done
|
||||
|
||||
/usr/src/redmine/bin/rails runner "Repository.fetch_changesets" -e production
|
||||
|
|
Loading…
Reference in New Issue