rosa-build/config/schedule.rb

45 lines
1.6 KiB
Ruby
Raw Normal View History

2014-01-21 04:51:49 +00:00
#every 1.day, at: '0:05 am' do
# runner 'Download.rotate_nginx_log'
2011-10-31 17:53:37 +00:00
#end
#
2014-01-21 04:51:49 +00:00
#every 1.day, at: '0:10 am' do
# runner 'Download.parse_and_remove_nginx_log'
2011-10-31 17:53:37 +00:00
#end
2011-10-14 07:35:25 +01:00
2014-01-21 04:51:49 +00:00
every :day, at: '3:00 am' do
rake 'activity_feeds:clear', output: 'log/activity_feeds.log'
2012-11-14 18:10:03 +00:00
end
2013-01-12 01:36:00 +00:00
2014-03-28 22:14:37 +00:00
every :day, at: '2:30 am' do
rake 'sitemap:refresh', output: 'log/sitemap.log'
end
every 1.hour do
rake 'buildlist:clear:outdated_canceling', output: 'log/canceling_build_list_clear.log'
end
2014-01-21 04:51:49 +00:00
every :day, at: '4am' do
runner 'Product.autostart_iso_builds_once_a_12_hours', output: 'log/autostart_iso_builds.log'
runner 'Product.autostart_iso_builds_once_a_day', output: 'log/autostart_iso_builds.log'
2014-02-25 10:34:07 +00:00
runner 'Project.autostart_build_lists_once_a_12_hours', output: 'log/autostart_build_lists.log'
runner 'Project.autostart_build_lists_once_a_day', output: 'log/autostart_build_lists.log'
2013-03-22 17:17:40 +00:00
end
2014-01-21 04:51:49 +00:00
every :day, at: '4pm' do
2014-02-25 10:34:07 +00:00
runner 'Product.autostart_iso_builds_once_a_12_hours', output: 'log/autostart_iso_builds.log'
runner 'Project.autostart_build_lists_once_a_12_hours', output: 'log/autostart_build_lists.log'
2013-03-22 17:17:40 +00:00
end
2014-01-21 04:51:49 +00:00
every :sunday, at: '4am' do
2014-02-25 10:34:07 +00:00
runner 'Product.autostart_iso_builds_once_a_week', output: 'log/autostart_iso_builds.log'
runner 'Project.autostart_build_lists_once_a_week', output: 'log/autostart_build_lists.log'
2014-02-11 20:37:14 +00:00
end
every :day, at: '1am' do
2014-02-25 13:19:20 +00:00
runner 'Platform.autostart_metadata_regeneration("day")', output: 'log/autostart_platform_metadata_regeneration.log'
2014-02-11 20:37:14 +00:00
end
every :saturday, at: '2am' do
2014-02-25 13:19:20 +00:00
runner 'Platform.autostart_metadata_regeneration("week")', output: 'log/autostart_platform_metadata_regeneration.log'
2014-02-11 20:37:14 +00:00
end