From 49e97279c72ce34b178a15035d16f871c77f5564 Mon Sep 17 00:00:00 2001 From: Penar Musaraj Date: Thu, 28 Jan 2021 13:41:07 -0500 Subject: [PATCH] FEATURE: Add daily job to check for new features --- app/jobs/scheduled/check_new_features.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/jobs/scheduled/check_new_features.rb diff --git a/app/jobs/scheduled/check_new_features.rb b/app/jobs/scheduled/check_new_features.rb new file mode 100644 index 00000000000..0bb066bddf5 --- /dev/null +++ b/app/jobs/scheduled/check_new_features.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +module Jobs + + class CheckNewFeatures < ::Jobs::Scheduled + every 1.day + + def execute(args) + DiscourseUpdates.perform_new_feature_check + end + end + +end