Quoting Manish Nautiyal <[email protected]>: > Hi all > > I want to run this in production mode. > > RAILS_ENV=production ruby script/runner lib/camp.rb in cron file. > > what i have done in cron file is below > > * * * * * RAILS_ENV=production /usr/bin/ruby > /mnt/apps/NearbyAd/current/script/runner > /mnt/apps/NearbyAd/current/lib/camp.rb > Try
* * * * * cd /mnt/apps/NearbyAd/current; ./script/runner -e production lib/camp.rb HTH, Jeffrey -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

