I have setup my schedule.rb file as follows.
set :cron_log, "/log/cron_log.log"
if Rails.env.development?
every 1.minute do
runner "SomeModel.move_values"
runner "SomeOtherModel.dispense"
end
end
I also make it work in development mode by whenever --update-crontab trunk --set environment=development
But my model methods (class methods) are never called. Is there some way I can verify if its configured right. when I simply use update it resets the settings to use the production environment.