mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 10:19:45 +02:00
Merge branch '113911147-whois_update_for_cron' into staging
* 113911147-whois_update_for_cron: 113911147-whois_update
This commit is contained in:
commit
574f005e08
1 changed files with 1 additions and 0 deletions
|
@ -24,6 +24,7 @@ class DomainCron
|
|||
unless Rails.env.test?
|
||||
STDOUT << "#{Time.zone.now.utc} DomainCron.clean_expired_pendings: ##{domain.id} (#{domain.name})\n"
|
||||
end
|
||||
UpdateWhoisRecordJob.enqueue domain.name, 'domain'
|
||||
end
|
||||
STDOUT << "#{Time.zone.now.utc} - Successfully cancelled #{count} domain pendings\n" unless Rails.env.test?
|
||||
count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue