GitLab: Disable the Annoying License Usage Sending Reminder Popups

If you use an offline license for GitLab, the backend will send a reminder to submit your license usage status every month, which is very annoying. I researched a method to turn this off.

#!/bin/bash

docker exec gitlab bash -lc '
gitlab-rails runner -e production "
ApplicationSetting.current.update!(license_usage_data_exported: true);
User.where(admin: true).find_each do |u|
  c = Users::Callout.find_or_initialize_by(user: u, feature_name: %q{submit_license_usage_data_banner})
  c.dismissed_at ||= Time.current
  c.save!
end
"
'

Just set the above script to run once daily via a scheduled task.