Permalink
Browse files

Added 'rake resque/scheduler'

  • Loading branch information...
1 parent bcbc86e commit 2de3f87c99f0b2759c81c159d07fc7c7e13c0289 @manuels manuels committed Oct 28, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −0 Procfile
  2. +2 −1 script/server
View
@@ -2,3 +2,4 @@ web: bundle exec rails s thin -p $PORT
redis: redis-server
websocket: ruby script/websocket_server.rb
worker: QUEUE=* bundle exec rake resque:work
+scheduler: bundle exec rake resque:scheduler
View
@@ -159,7 +159,8 @@ if [ "$(bundle exec ruby ./script/get_config.rb 'single_process_mode?')" != "tru
redis-server config/redis.conf &>log/redis-console.log &
QUEUE=* bundle exec rake resque:work&
-
+ bundle exec rake resque:scheduler&
+
bundle exec ruby ./script/websocket_server.rb&
fi

0 comments on commit 2de3f87

Please sign in to comment.