ITeye博客

Resque 使用

suxu · 2012-12-05 16:27 · RubyRails · 编程语言 · Rails · resque · Markdown

resque:

  resque 是一个后台任务处理框架,基于 redis

  查看 resque 运行状态 server_domain:port/resque

  配置文件 /config/initializers/resque.rb

 

  启动: QUEUE=* rake environment resque:work

  停止: CLTR + C

  后台运行:

    启动: PIDFILE=./tmp/pids/resque.pid BACKGROUND=yes QUEUE=* rake environment resque:work

    停止:kill -QUIT pid

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。