FEATURE: Add daily job to check for new features

This commit is contained in:
Penar Musaraj 2021-01-28 13:41:07 -05:00 committed by Alan Guo Xiang Tan
parent 736b4137cc
commit 49e97279c7
1 changed files with 13 additions and 0 deletions

View File

@ -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