From 80bd4decac9a4b23a0d04eb57b9162194bd58c3b Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Tue, 20 Dec 2011 11:15:37 +0800 Subject: [PATCH] Updated example cron to refresh repos every 10 min [ci skip] --- lib/git/repo_index.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/git/repo_index.sh b/lib/git/repo_index.sh index 66442f3..eecb634 100644 --- a/lib/git/repo_index.sh +++ b/lib/git/repo_index.sh @@ -245,7 +245,7 @@ _git_index_update_all_branches() { # Updates all git repositories with clean working directories. # Use the following cron configuration: -# */6 * * * * /bin/bash -c '. $HOME/.bashrc && git_index --rebuild && git_index --update-all' +# */10 * * * * /bin/bash -c '. $HOME/.bashrc && git_index --rebuild && git_index --update-all' function _git_index_update_all() { echo -e "== Safely updating all local branches in $_bld_col$(_git_index_count)$_txt_col repos...\n" _git_index_batch_cmd _git_index_update_all_branches