Tuesday, September 30th, 2008
Running script/runner in production environment
Problem
Following from a previous post about email scheduling with runner and cron, it turns out that the runner default behaviour is to run in the development environment.
Solution
Although by reading the help for the script/runner, there is a suggestion to run it with the -e production added to the end, it doesn’t seem to be working.
The [...]
No Comments » - Posted in ruby on rails by kosmas
Wednesday, June 11th, 2008
Ruby on Rails email scheduling using runner and cron
Problem
You want to send emails from a Ruby on Rails application, when there is a specific condition on a database table. If the database table gets modified by another application outside Rails you cannot use an observer model.
Solution
We already assume that:
You are using a database
You have a model named voicemail (id, number_id, audio, created_at, updated_at)
You [...]