fix typo on daily tasks logging (#2450)

This commit is contained in:
esetomo 2017-04-26 03:35:20 +09:00 committed by Eugen Rochko
parent fc99d11703
commit 322cbf83c8

View file

@ -9,10 +9,10 @@ namespace :mastodon do
mastodon:users:clear mastodon:users:clear
mastodon:push:refresh mastodon:push:refresh
).each do |task| ).each do |task|
puts "Starting #{task} at #{Time.utc.now}" puts "Starting #{task} at #{Time.now.utc}"
Rake::Task[task].invoke Rake::Task[task].invoke
end end
puts "Completed daily tasks at #{Time.utc.now}" puts "Completed daily tasks at #{Time.now.utc}"
end end
desc 'Turn a user into an admin, identified by the USERNAME environment variable' desc 'Turn a user into an admin, identified by the USERNAME environment variable'