Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

only run this on the app server

  • Loading branch information...
commit 76828fdb60a668125161e314fb40ce72ad7ec62f 1 parent 60ffcc0
Adam Hallett atomical authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/schedule.rb
4 config/schedule.rb
View
@@ -1,5 +1,5 @@
set :output, "log/whenever_cron.log"
-every 1.minute do
- rake 'avalon:batch:ingest', :environment => "development"
+every 1.minute, :roles => [:app] do
+ rake 'avalon:batch:ingest'
end
Please sign in to comment.
Something went wrong with that request. Please try again.