Permalink
Browse files

update schedule file

  • Loading branch information...
andyl committed Jun 7, 2012
1 parent 73f3ca8 commit 6c72521205263d562697ec80f5b72b46272c0624
Showing with 2 additions and 2 deletions.
  1. +1 −1 config/deploy/shared/recipes/cron.rb
  2. +1 −1 config/schedule.rb
@@ -6,7 +6,7 @@
desc "Reset Cron"
task :reset do
- run "cd #{release_path} && bundle exec whenever --update-crontab #{application}"
+ run "cd #{current_path} && bundle exec whenever --update-crontab #{application}"
end
end
View
@@ -4,7 +4,7 @@
# Learn more: http://github.com/javan/whenever
cmd = "script/nq :task >> log/nq.log 2>&1"
-job_type :nq, "cd :path && export RAILS_ENV=:environment && #{cmd}"
+job_type :nq, "cd :path && export RAILS_ENV=staging && #{cmd}"
# ----- Automated eMail Reminders and Alerts -----

0 comments on commit 6c72521

Please sign in to comment.