I have an app running on Heroku. I want to use the Scheduler add-on. I have followed instructions at <https://devcenter.heroku.com/articles/scheduler> to no avail.

I have the following in db/lib/scheduler.rake

```
task :update_lines => :environment do
  puts "Updating lines..."
  Line.get_lines
  puts "done."
end

```

I have a class method in Line called get\_lines.

The error when I do a `heroku run rake update_lines`

is "Don't know how to build task 'update\_lines'"

Any thoughts?