"referred clicks" badge calculation

When are the badges for referred clicks (“Nice Share”, “Good Share”, “Great Share”) calculated by Discourse?

Instantly when the URLs are opened by the users, or is it a cron that runs every night?

Once a day in the daily shared schedule, you can see when it ran in /sidekiq/scheduler