mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 15:38:59 +00:00
logging with scheduler.rake
This commit is contained in:
parent
2da29ffd95
commit
9e31292f55
1 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,5 @@
|
|||
desc "This task is called by the Heroku scheduler add-on"
|
||||
task :clear_done => :environment do
|
||||
puts "Clearing users' completed daily tasks, and docking points for incompletes..."
|
||||
Rails.logger.info "Clearing users' completed daily tasks, and docking points for incompletes."
|
||||
Habit.clear_done
|
||||
puts "done."
|
||||
end
|
||||
Loading…
Reference in a new issue