Permalink
Browse files

Add schedule.rb to run cron via whenever gem

  • Loading branch information...
1 parent 88fdbd8 commit 4ea869b2cd3d83f6dbed1822689f13c9d8cd5d2f @jystewart jystewart committed Nov 7, 2011
Showing with 5 additions and 0 deletions.
  1. +5 −0 config/schedule.rb
View
@@ -0,0 +1,5 @@
+set :output, {:error => 'log/cron.error.log', :standard => 'log/cron.log'}
+
+every 15.minutes do
+ rake "api:import"
+end

0 comments on commit 4ea869b

Please sign in to comment.