Rails runner command not saving to cache
- by mark
Hi
I'm having a bit of a problem with a cron task generated by rails whenever plugin that should store remote data in the rails cache for display. What I have is this:
schedule.rb
set :path, '/var/www/apps/tuexplore/current'
every 1.hour do
runner "Weather.cache_remote", :environment => :production
end
calls this model
class Weather
…