rosa-build/config/schedule.rb

28 lines
724 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
every 1.day, :at => '4:00 am' do
rake "import:sync:all", :output => 'log/sync.log'
end
every 1.day, :at => '3:50 am' do
rake "buildlist:clear:outdated", :output => 'log/build_list_clear.log'
end
2012-11-14 15:48:20 +00:00
every 1.day, :at => '3:30 am' do
rake "pull_requests:clear", :output => 'log/pull_requests_clear.log'
end
2012-11-14 18:10:03 +00:00
every 1.day, :at => '3:00 am' do
rake "activity_feeds:clear", :output => 'log/activity_feeds.log'
end
2013-01-12 01:36:00 +00:00
2013-01-15 17:49:05 +00:00
every 3.minute do
2013-01-15 13:03:51 +00:00
runner 'AbfWorker::BuildListsPublishTaskManager.new.run', :output => 'log/task_manager.log'
2013-01-12 01:36:00 +00:00
end