mirror of
https://github.com/internetee/registry.git
synced 2025-06-04 03:37:28 +02:00
added schedule for running job
This commit is contained in:
parent
09ba0a2511
commit
635e7b9c4f
1 changed files with 4 additions and 0 deletions
|
@ -66,6 +66,10 @@ if @cron_group == 'registry'
|
|||
rake 'verify_email:all_domains'
|
||||
end
|
||||
|
||||
every 5.minutes do
|
||||
runner 'NameserverRecordValidationJob.perform_now'
|
||||
end
|
||||
|
||||
# Should be at least once every 4 days, since according to LHV specs:
|
||||
# "Unread messages older than 5 days are automatically scheduled for deletion"
|
||||
# https://partners.lhv.ee/en/connect/#messaging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue