Commit 55c936a81ff2f5aa42ef1a50f86e12d2af3210cf

Authored by Joenio Costa
1 parent ec9af45f

ActionItem791: dont forget to set RAILS_ENV to production

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
script/task-notifier
1 1 #!/usr/bin/env ruby
2 2 require File.dirname(__FILE__) + '/../config/environment'
3 3  
  4 +# when in production set RAILS_ENV to 'production'
  5 +
4 6 Person.with_pending_tasks.each do |p|
5 7 PendingTaskNotifier.deliver_notification(p)
6 8 RAILS_DEFAULT_LOGGER.info('deliver notification for ' + p.identifier)
... ...