Linux环境
step1.
cd 到安装redmine的根目录下,找到use_redmine脚本,运行进行特定的环境
cd <installation_directory>
./use_redmine
#之后会进入特有的shell环境,如下所示
bash-4.1$
bash-4.1$
Step2.
cd 到redmine-3.4.6-4/apps/redmine/htdocs菜单下,看到有rakefile,就可以执行rake命令了
如:rake redmine:send_reminders days=7 RAILS_ENV="production"
(发送所有人7天内的任务提醒的命令)
rake redmine:send_reminders days=7 users="1,23,56" RAILS_ENV="production"
(发送给1,23,56三个制定用户的任务提醒)
参考:
https://blog.csdn.net/huaishu/article/details/38686501
网友评论