diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example
index f231ecbea29565bdec454622a7999dbd4ef4600b..b988581603c31caf83b2eed40b39378ed4e7a13b 100644
--- a/config/gitlab.yml.example
+++ b/config/gitlab.yml.example
@@ -607,6 +607,10 @@ production: &base
     elastic_index_initial_bulk_cron_worker:
       cron: "*/10 * * * *"
 
+    # Periodically prune stale runners from namespaces having opted-in.
+    ci_runners_stale_group_runners_prune_cron_worker:
+      cron: "0 2 * * *"
+
   registry:
     # enabled: true
     # host: registry.example.com
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index 21adb0f05d43c27ddb34a046ca8e217f00ce0f14..5e46790cdc902699dade8d51c8f1ad63d7d15802 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -772,9 +772,9 @@
   Settings.cron_jobs['arkose_blocked_users_report_worker'] ||= Settingslogic.new({})
   Settings.cron_jobs['arkose_blocked_users_report_worker']['cron'] ||= '0 6 * * *'
   Settings.cron_jobs['arkose_blocked_users_report_worker']['job_class'] = 'Arkose::BlockedUsersReportWorker'
-  Settings.cron_jobs['ci_runners_stale_group_runners_prune_worker'] ||= Settingslogic.new({})
-  Settings.cron_jobs['ci_runners_stale_group_runners_prune_worker']['cron'] ||= '0 2 * * *'
-  Settings.cron_jobs['ci_runners_stale_group_runners_prune_worker']['job_class'] = 'Ci::Runners::StaleGroupRunnersPruneCronWorker'
+  Settings.cron_jobs['ci_runners_stale_group_runners_prune_cron_worker'] ||= Settingslogic.new({})
+  Settings.cron_jobs['ci_runners_stale_group_runners_prune_cron_worker']['cron'] ||= '0 2 * * *'
+  Settings.cron_jobs['ci_runners_stale_group_runners_prune_cron_worker']['job_class'] = 'Ci::Runners::StaleGroupRunnersPruneCronWorker'
 end
 
 #