X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/676dfa352dbf55a23e0123b47d1affe33c028908..9bc0194676e3f22b41976fefc6146d7dd965d173:/services/api/script/cancel_stale_jobs.rb diff --git a/services/api/script/cancel_stale_jobs.rb b/services/api/script/cancel_stale_jobs.rb index 717edd7bb3..4949ec0880 100755 --- a/services/api/script/cancel_stale_jobs.rb +++ b/services/api/script/cancel_stale_jobs.rb @@ -20,7 +20,6 @@ class CancelJobs def cancel_stale_jobs act_as_system_user do Job.running.each do |jobrecord| - puts jobrecord f = Log.where("object_uuid=?", jobrecord.uuid).limit(1).order("created_at desc").first if f age = (Time.now - f.created_at)