./script/runner in crontab -e gives "Mysql:Error"

Have you tried running that job from the command-line, as the user whose crontab the job is executed?

If that works, it has to be an environmental issue. For example, if you're using Gentoo Linux, interactive shells will have RUBYOPT=- rauto_gem in the environment, which causes rubygems to be required automatically, for any ruby script. However, that environment variable isn't set in a cron job.

Good luck.

Ciao, Sheldon.

Ashwin,

If you want Cron functionality for Rails, then you should look at

http://rails.co.za/articles/2006/06/03/using-railscron

We are using Rails Cron successfully in Ajuby ( http://ajuby.openapp.org) toolkit, as our scheduler (on which we are running Feed aggregation and Feed notification delivery jobs).

Hope that helps

-Rajesh