Skip to content

Commit

Permalink
functions: Fix fetch commits cron job
Browse files Browse the repository at this point in the history
Fixes #526

Signed-off-by: Jonathan Cormier <[email protected]>
  • Loading branch information
jcormier committed Nov 28, 2023
1 parent acdbaf0 commit 4367bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- redmine upgrade to v5.1.1
- Set transaction isolation level for mysql to fix race condition
https://www.redmine.org/projects/redmine/wiki/MySQL_configuration
- Fix fetch commits cron job #526

**5.1.0**

Expand Down
2 changes: 1 addition & 1 deletion assets/runtime/functions
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ redmine_configure_fetch_commits() {
2.*)
echo "@${REDMINE_FETCH_COMMITS} cd ${REDMINE_HOME}/redmine && ./script/rails runner \"Repository.fetch_changesets\" -e ${RAILS_ENV} >> ${REDMINE_LOG_DIR}/redmine/cron_rake.log 2>&1" >>/tmp/cron.${REDMINE_USER}
;;
3.*|4.*)
3.*|4.*|5.*)
echo "@${REDMINE_FETCH_COMMITS} cd ${REDMINE_HOME}/redmine && ./bin/rails runner \"Repository.fetch_changesets\" -e ${RAILS_ENV} >> ${REDMINE_LOG_DIR}/redmine/cron_rake.log 2>&1" >>/tmp/cron.${REDMINE_USER}
;;
*)
Expand Down

0 comments on commit 4367bfd

Please sign in to comment.