User Tools

Site Tools


redmine_commands

This is an old revision of the document!


Redmine related commands

Restart

touch tmp/restart.txt

Migrate plugins (Redmine 2.x)

rake redmine:plugins:migrate RAILS_ENV=production

Redmine related code

Use Redmine built-in working-days feature

Include it in each contoller you want to use the function
include Redmine::Utils::DateCalculation

Use it:

@workDaysOnly = working_days(from, to)
redmine_commands.1409138054.txt.gz · Last modified: 2014/08/27 13:14 by admin