【发布时间】:2010-08-10 02:10:53
【问题描述】:
我想为我的 thinking_sphinx 搜索功能设置一个 crontab。我没有为此使用任何红宝石。
这是我的命令
*/59 * * * * cd path && rake thinking_sphinx:index RAILS_ENV=production
系统日志给了我这个:
CRON[2890]: (user) CMD (cd path && rake thinking_sphinx:index RAILS_ENV=production)
然而thinking_sphinx 没有被索引。如果我手动索引它,它确实有效。
【问题讨论】:
标签: ruby-on-rails crontab