Permalink
Browse files

Make the cron run in the morning

  • Loading branch information...
1 parent e223bd6 commit 62847b71ac43a60a1cf4c1c0c08605709ab61dc9 @kneath committed May 5, 2009
Showing with 1 addition and 3 deletions.
  1. +1 −3 Rakefile
View
@@ -34,11 +34,9 @@ task :environment do
end
task :cron => :environment do
- if Time.now.hour == 23
+ if Time.now.hour == 01
puts "Updating milestones..."
Burndown::Milestone.sync_with_lighthouse
puts "done."
- else
- puts "Not executing for another #{23 - Time.now.hour} hours"
end
end

0 comments on commit 62847b7

Please sign in to comment.