SkillAgentSearch skills...

Worklogs

This is a worklogs plugin for Redmine

Install / Use

/learn @IceskYsl/Worklogs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

worklogs

This is a worklogs plugin for Redmine.

Requirements

Ruby interpreter: 1.9.2, 1.9.3, 2.0.0
Redmine: 2.3.x

Installation

To install the plugin, execute the following commands from the root of your Redmine directory:

cd plugins
git clone https://github.com/IceskYsl/worklogs.git

and then execute the following commands from the root of your Redmine directory:

$ RAILS_ENV=production rake redmine:plugins:migrate

More information on installing Redmine plugins can be found at redmine.org.

After the plugin is installed you will need to restart Redmine for the plugin to be available.

Task

by rake

#day report
RAILS_ENV=production bundle exec rake worklogs:day day=2013-08-01

#week report
RAILS_ENV=production bundle exec rake worklogs:week week=23

Add the task into crontable

[root@smbserver ~]# crontab -l
02 23 * * 1-5 /bin/bash -l -c  /shell/day.sh 
30 14 * * 0 /bin/bash -l -c  /shell/week.sh
[root@smbserver ~]# cat /shell/week.sh
#!/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/ruby/bin
cd /opt/www/redmine/current
RAILS_ENV=production bundle exec rake worklogs:week

[root@smbserver ~]# cat /shell/day.sh 
#!/bin/bash
#source /usr/local/rvm/scripts/rvm
cd /opt/www/redmine/current
RAILS_ENV=production bundle exec rake worklogs:day

Uninstallation

To remove the plugin, from the root of your installation directory do the following:

rake redmine:plugins:migrate NAME=worklogs VERSION=0 RAILS_ENV=production
rm -rf plugins/worklogs
bundle install

Demo

Configure Configure

Configure

demo pic

More Plugins(for Redmine)

Holidays A holidays plugin for Redmine. (https://github.com/IceskYsl/holidays)

address_books A address book plugin for Redmine. (https://github.com/IceskYsl/address_books)

Worklogs A worklogs plugin for Redmine. (https://github.com/IceskYsl/worklogs)

Donate

[donate via paypal](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=iceskysl%40gmail%2ecom&lc=US&item_name=Donate Iceskysl &amount=0%2e99&currency_code=USD&no_note=0&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest "donate via paypal")

Related Skills

View on GitHub
GitHub Stars25
CategoryDevelopment
Updated3mo ago
Forks12

Languages

HTML

Security Score

72/100

Audited on Dec 10, 2025

No findings