From 8ab39f1393a36d36a27079f3e7519a737a41f0a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oliver=20G=C3=BCnther?= Date: Thu, 22 Feb 2024 15:07:33 +0100 Subject: [PATCH] Fix testing value for cron --- modules/webhooks/lib/open_project/webhooks/engine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/webhooks/lib/open_project/webhooks/engine.rb b/modules/webhooks/lib/open_project/webhooks/engine.rb index 2309193c7350..ead276ce7706 100644 --- a/modules/webhooks/lib/open_project/webhooks/engine.rb +++ b/modules/webhooks/lib/open_project/webhooks/engine.rb @@ -54,7 +54,7 @@ class Engine < ::Rails::Engine add_cron_jobs do { CleanupWebhookLogsJob: { - cron: '*/1 * * * *', # runs at 5:28 on Sunday + cron: '28 5 * * 7', # runs at 5:28 on Sunday class: 'CleanupWebhookLogsJob' } }