rosa-build/config/schedule.rb

19 lines
421 B
Ruby
Raw Normal View History

2012-01-30 20:39:34 +00:00
# -*- encoding : utf-8 -*-
2011-10-31 17:53:37 +00:00
#every 1.day, :at => '0:05 am' do
# runner "Download.rotate_nginx_log"
#end
#
#every 1.day, :at => '0:10 am' do
# runner "Download.parse_and_remove_nginx_log"
#end
2011-10-14 07:35:25 +01:00
2011-11-01 14:58:31 +00:00
every 5.minutes do
#rake "sudo_test:projects"
runner "Download.rotate_nginx_log"
2011-11-01 14:58:31 +00:00
runner "Download.parse_and_remove_nginx_log"
end
every 1.day, :at => '4:00 am' do
2012-01-28 03:09:39 +00:00
rake "import:sync:all", :output => 'log/sync.log'
end