test output for staging
This commit is contained in:
parent
d41ddd7171
commit
20d4df8af3
|
@ -6,8 +6,11 @@ module Travis::API::V3
|
|||
end
|
||||
|
||||
def start_all()
|
||||
puts "starting #{Models::Cron.count} crons."
|
||||
Models::Cron.all.select do |cron|
|
||||
@cron = cron
|
||||
puts cron.next_enqueuing
|
||||
puts Time.now
|
||||
bad_things
|
||||
start(cron) if cron.next_enqueuing <= Time.now
|
||||
end
|
||||
|
|
|
@ -68,7 +68,7 @@ module Travis::API::V3
|
|||
|
||||
def check_login_and_find(*args)
|
||||
raise LoginRequired unless access_control.full_access_or_logged_in?
|
||||
find(*args) or raise NotFound
|
||||
find(*args) or raise NotFound
|
||||
end
|
||||
|
||||
def not_found(actually_not_found = false, type = nil)
|
||||
|
|
|
@ -6,4 +6,8 @@ require 'travis/api/app'
|
|||
|
||||
Travis::Api::App.setup
|
||||
|
||||
puts "start"
|
||||
|
||||
Travis::API::V3::Services::Crons::Start.new(nil,nil,nil).run!
|
||||
|
||||
puts "done"
|
||||
|
|
Loading…
Reference in New Issue
Block a user