myneid / redmine-periodic-task Goto Github PK
View Code? Open in Web Editor NEWA redmine plugin that lets you schedule an issue to fire every x days/weeks/months
A redmine plugin that lets you schedule an issue to fire every x days/weeks/months
Message:
Periodictask#index translation missing: en.label_email_assignment_new
when you create new task
Would be greate to integrate periodic tasks into redmine issues. Tasks defined can generate a new issue or change status (start date, due_date, ...)
Hi,
is it possible to release an update for 2.0 ? :)
This plugin is awesome!
This essteial install hint is missing!
The tasks I set up weren't appearing, so ran the job by hand from the public directory:
sudo rake --trace redmine:check_periodictasks RAILS_ENV=“production”
which returned this error (trace on):
NOTE: SourceIndex.new(hash) is deprecated; From /usr/share/redmine/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100:in new'. Please install RDoc 2.4.2+ to generate documentation. rake aborted! undefined method
[]' for nil:NilClass
/usr/share/redmine/config/environment.rb:32
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
require'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:182:in require' /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:547:in
new_constants_in'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:182:in require' /usr/share/redmine/vendor/plugins/Redmine-Periodic-Task/lib/tasks/periodictask.rake:7 /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:171:in
load_without_new_constant_marking'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:171:in load' /usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:547:in
new_constants_in'
/usr/lib/ruby/vendor_ruby/active_support/dependencies.rb:171:in load' /usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:13 /usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:13:in
each'
/usr/share/redmine/vendor/rails/railties/lib/tasks/rails.rb:13
/usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in gem_original_require' /usr/lib/ruby/vendor_ruby/1.8/rubygems/custom_require.rb:36:in
require'
/usr/share/redmine/Rakefile:10
/usr/lib/ruby/1.8/rake.rb:2383:in load' /usr/lib/ruby/1.8/rake.rb:2383:in
raw_load_rakefile'
/usr/lib/ruby/1.8/rake.rb:2017:in load_rakefile' /usr/lib/ruby/1.8/rake.rb:2068:in
standard_exception_handling'
/usr/lib/ruby/1.8/rake.rb:2016:in load_rakefile' /usr/lib/ruby/1.8/rake.rb:2000:in
run'
/usr/lib/ruby/1.8/rake.rb:2068:in standard_exception_handling' /usr/lib/ruby/1.8/rake.rb:1998:in
run'
/usr/bin/rake:28
If I'm missing something obvious, let me know as I'm new to Ruby.
Install the following
https://github.com/jperelli/Redmine-Periodic-Task/
Edit the following
jperelli/Redmine-Periodic-Task#5
Greetings from Chile!
I'm relative new on Redmine (I just installed redmine yesterday) so I'm new installing plugins... somebody could write a step-by-step tutorial in order to install Redmine-Periodic-Task plugin?
I have a machine with Windows 7, and I have also redmine-2.2.3-0
does not work in porstgres because of a concat in find_by_sql
Observation:
I took it for a quick spin, and it resulted in utterly breaking most of my Redmine installation (in a reversible way, so no big deal :) ).
This may also be of interest to you in case you want to port it to Redmine 2.
Expectation:
Should work in Redmine 1.4
Additional info:
Version is:
Redmine 1.4.3.stable (MySQL)
production.log says:
Processing DocumentsController#index (for 192.168.178.2 at 2012-07-29 08:04:45) [GET] Parameters: {"action"=>"index", "controller"=>"documents", "project_id"=>"t1"} Rendering template within layouts/base Rendering documents/index ActionView::TemplateError (No route matches {:controller=>"periodictask", :project_id=>#, :action=>"index"}) on line #57 of app/views/layouts/base.html.erb:
what am I missing?? Id like to have "Start Time" I don't need these all to start at 5am but Apparently I'm blind as a bat and unable to change it.
Here is what I am trying to do. http://img16.imageshack.us/img16/1418/screen049n.png
Today is 2011-12-01. I have a task with next date set, say, to 2011-12-01 00:00:00.
When cron job runs at 01:00, next run time is set to something like 2012-01-01 01:00:30 (seconds depend on cron job run time). Then, because you are comparing next run date to today's date only (without time), next time this task actually runs is 2012-01-02, and next run time would be set to 2012-02-02 01:00:30 and so on.
The simple solution would be to do:
task.next_run_date = interval.send(units.downcase).from_now.to_date
in scheduled_tasks_checker.rb, converting DateTime to Date, so next run time for today's task would be set to 2012-01-01 00:00:00.
When I try to edit existing periodic task, a new one is created with new parameters, while the original one is left with old parameters.
de:
field_interval_number: Intervallnummer
field_next_run_date: Nächster Lauf am (yyyy-mm-dd hh:mm:ss)
label_assigned_to_user: Zugewiesen an
no_members_in_project: Dieses Projekt hat keine Mitglieder
label_subject: Thema
label_next_run_date: Nächster Lauf
Here is the log generated when the cron is running:
DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
You can opt into the new behavior and remove this warning by setting:
config.active_record.raise_in_transactional_callbacks = true
(called from block in tsort_each at /usr/local/rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/tsort.rb:226)
Starting Maintenance Mode plugin for Redmine
Starting Pretend plugin for RedMine
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: 'issue_templates'` to `controller: 'issue_templates'`. (called from block (3 levels) in <top (required)> at (eval):3)
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: 'issue_templates_settings'` to `controller: 'issue_templates_settings'`. (called from block (3 levels) in <top (required)> at (eval):6)
DEPRECATION WARNING: Defining a route where `to` is a controller without an action is deprecated. Please change `to: 'global_issue_templates'` to `controller: 'global_issue_templates'`. (called from block (3 levels) in <top (required)> at (eval):10)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.